]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2632-const-trait-impl/without-tilde.rs
Rollup merge of #97963 - devnexen:net_listener_neg, r=the8472
[rust.git] / src / test / ui / rfc-2632-const-trait-impl / without-tilde.rs
1 // compile-flags: -Z parse-only
2
3 #![feature(const_trait_impl)]
4
5 struct S<T: const Tr>;
6 //~^ ERROR expected one of `!`, `(`, `,`, `=`, `>`, `?`, `for`, `~`, lifetime, or path