Sign in
fuchsia
/
third_party
/
rust
/
bf84eb538fd16743240434b3e837b36c35719fee
/
.
/
src
/
test
/
ui
/
rfc-2632-const-trait-impl
/
const-trait-bound-opt-out
/
with-maybe-sized.rs
blob: 425784f4e4326aa955b2cf36df8741d0489a6844 [
file
] [
log
] [
blame
]
#![
feature
(
const_trait_bound_opt_out
)]
#![
allow
(
incomplete_features
)]
struct
S
<
T
:
?
const
?
Sized
>(
std
::
marker
::
PhantomData
<
T
>);
//~^ ERROR `?const` and `?` are mutually exclusive
//~| ERROR `?const` on trait bounds is not yet implemented
fn
main
()
{}