Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
impl-trait
/
recursive-impl-trait-type-direct.rs
blob: 3cc537440977c09f96c24c6765d5f1d979d14f60 [
file
] [
log
] [
blame
]
// Test that an `impl Trait` type that expands to itself is an error.
#![
allow
(
unconditional_recursion
)]
fn
test
()
->
impl
Sized
{
//~^ ERROR E0720
test
()
}
fn
main
()
{}