Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
feature-gates
/
feature-gate-impl_trait_in_bindings.rs
blob: 39cc64f11a7e38817b3b9851239a5c08a7ef1799 [
file
] [
log
] [
blame
]
const
FOO
:
impl
Copy
=
42
;
//~^ ERROR `impl Trait` not allowed
static
BAR
:
impl
Copy
=
42
;
//~^ ERROR `impl Trait` not allowed
fn
main
()
{
let
foo
=
impl
Copy
=
42
;
//~^ ERROR expected expression, found keyword `impl`
let
foo
:
impl
Copy
=
42
;
}