Sign in
fuchsia
/
third_party
/
rust
/
b55d8a3b4917698fd6d389f05afc423086f33d97
/
.
/
tests
/
ui
/
typeck
/
return-dyn-type-mismatch-2.rs
blob: 328f154dcbc3e0c7f5ec3ed7f8707ee5d674c3e3 [
file
] [
log
] [
blame
]
trait
Trait
<
T
>
{}
fn
foo
<
T
>()
->
dyn
Trait
<
T
>
where
dyn
Trait
<
T
>:
Sized
,
// pesky sized predicate
{
42
//~^ ERROR mismatched types
}
fn
main
()
{}