Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
rfc-2632-const-trait-impl
/
tilde-const-invalid-places.rs
blob: 95f7aaba0fc389fe5d8c895e6a319947bb554829 [
file
] [
log
] [
blame
]
#![
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
()
{}