rust/tests/ui/rfc-2632-const-trait-impl/without-tilde.rs
2023-01-11 09:32:08 +00:00

7 lines
131 B
Rust

// compile-flags: -Z parse-only
#![feature(const_trait_impl)]
struct S<T: const Tr>;
//~^ ERROR const bounds must start with `~`