mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-30 12:07:40 +00:00
7 lines
131 B
Rust
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 `~`
|