Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
feature-gates
/
feature-gate-super-let.rs
blob: 7be08003913381cb6b99bab48ecffea1fd92a246 [
file
] [
log
] [
blame
]
fn
main
()
{
super
let
a
=
1
;
//~^ ERROR `super let` is experimental
}
// Check that it also isn't accepted in cfg'd out code.
#[
cfg
(
any
())]
fn
a
()
{
super
let
a
=
1
;
//~^ ERROR `super let` is experimental
}