Sign in
rust
/
rust
/
refs/heads/try-perf
/
.
/
tests
/
ui
/
modules
/
super-at-crate-root.rs
blob: 0aac3a0875709ca59d700e37f4bfef084ecb7764 [
file
] [
log
] [
blame
] [
edit
]
//! Check that `super` keyword used at the crate root (top-level) results in a compilation error
//! as there is no parent module to resolve.
use
super
::
f
;
//~ ERROR too many leading `super` keywords
fn
main
()
{}