Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
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`