summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfc-2632-const-trait-impl/without-tilde.rs
blob: d63381b5f2cc9a8b92121c8ad7af9b9a205b943f (plain)
1
2
3
4
5
6
// compile-flags: -Z parse-only

#![feature(const_trait_impl)]

struct S<T: const Tr>;
//~^ ERROR const bounds must start with `~`