rust/tests/ui/imports/suggest-import-ice-issue-127302.rs

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

13 lines
395 B
Rust
Raw Normal View History

2024-07-04 04:55:00 -05:00
//@ revisions: edition2015 edition2021
mod config; //~ ERROR file not found for module
fn main() {
match &args.cmd { //~ ERROR cannot find value `args` in this scope
crate::config => {} //~ ERROR expected unit struct, unit variant or constant, found module `crate::config`
}
println!(args.ctx.compiler.display());
//~^ ERROR format argument must be a string literal
}