mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 06:22:00 +00:00
8 lines
201 B
Rust
8 lines
201 B
Rust
#![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() {}
|