summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfc-2632-const-trait-impl/tilde-const-invalid-places.rs
blob: 95f7aaba0fc389fe5d8c895e6a319947bb554829 (plain)
1
2
3
4
5
6
7
#![feature(const_trait_impl)]
#![feature(associated_type_bounds)]

struct TildeQuestion<T: ~const ?Sized>(std::marker::PhantomData<T>);
//~^ ERROR `~const` and `?` are mutually exclusive

fn main() {}