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

#![feature(const_trait_impl)]

struct S<T: ~const ~const Tr>;
//~^ ERROR expected identifier, found `~`