Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
rfc-1937-termination-trait
/
termination-trait-impl-trait.rs
blob: 8f65144b14059f33495fd5afdf2c25f8ccccea33 [
file
] [
log
] [
blame
]
// Tests that an `impl Trait` that is not `impl Termination` will not work.
fn
main
()
->
impl
Copy
{
}
//~^ ERROR `main` has invalid return type `impl std::marker::Copy`