Sign in
android
/
toolchain
/
rustc
/
c396013a05f0623e5cbcfc712426adb8e384ed83
/
.
/
tests
/
ui
/
rfcs
/
rfc-2632-const-trait-impl
/
tilde-const-maybe-trait.rs
blob: ed911d965d631d48f424f3d36a7213537b480bbc [
file
] [
log
] [
blame
]
#![
feature
(
const_trait_impl
)]
const
fn
tilde_question
<
T
:
~
const
?
Sized
>()
{}
//~^ ERROR `~const` and `?` are mutually exclusive
fn
main
()
{}