rust/tests/ui/rfcs/rfc-2632-const-trait-impl/tilde-twice.rs

7 lines
137 B
Rust
Raw Normal View History

2021-08-27 03:26:35 -05:00
// compile-flags: -Z parse-only
#![feature(const_trait_impl)]
struct S<T: ~const ~const Tr>;
//~^ ERROR expected identifier, found `~`