Sign in
chromium
/
external
/
github.com
/
rust-lang
/
rust
/
refs/heads/try-perf
/
.
/
tests
/
ui
/
feature-gates
/
feature-gate-super-let.rs
blob: 19da1c4aa39bd914b6b75d437c250c5d5aef3e5e [
file
] [
log
] [
blame
] [
edit
]
fn
main
()
{
super
let
a
=
1
;
//~^ ERROR `super let` is experimental
}
// Check that it also isn't accepted in cfg'd out code.
#[
cfg
(
false
)]
fn
a
()
{
super
let
a
=
1
;
//~^ ERROR `super let` is experimental
}