Sign in
rust
/
rust
/
08cd08fbef8c6663b052d8d9e4930d5696cbb8a7
/
.
/
tests
/
ui
/
traits
/
negative-bounds
/
negative-sized.rs
blob: 18369c784275375b96701d817f1332ce039be02d [
file
]
#![
feature
(
negative_bounds
)]
fn
foo
<
T
:
!
Sized
>()
{}
fn
main
()
{
foo
::<()>();
//~^ ERROR the trait bound `(): !Sized` is not satisfied
}