mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-29 11:37:39 +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 `~`
|