2024-02-16 20:02:50 +00:00

7 lines
138 B
Rust

//@ compile-flags: -Z parse-only
#![feature(const_trait_impl)]
struct S<T: ~const ~const Tr>;
//~^ ERROR expected identifier, found `~`