Files
rust/tests/ui/modules/super-at-crate-root.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
225 B
Rust
Raw Normal View History

//! 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 there are too many leading `super` keywords
fn main() {}