|
| 1 | +error[E0583]: file not found for module `config` |
| 2 | + --> $DIR/suggest-import-ice-issue-127302.rs:3:1 |
| 3 | + | |
| 4 | +LL | mod config; |
| 5 | + | ^^^^^^^^^^^ |
| 6 | + | |
| 7 | + = help: to create the module `config`, create file "$DIR/config.rs" or "$DIR/config/mod.rs" |
| 8 | + = note: if there is a `mod config` elsewhere in the crate already, import it with `use crate::...` instead |
| 9 | + |
| 10 | +error: format argument must be a string literal |
| 11 | + --> $DIR/suggest-import-ice-issue-127302.rs:10:14 |
| 12 | + | |
| 13 | +LL | println!(args.ctx.compiler.display()); |
| 14 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 15 | + | |
| 16 | +help: you might be missing a string literal to format with |
| 17 | + | |
| 18 | +LL | println!("{}", args.ctx.compiler.display()); |
| 19 | + | +++++ |
| 20 | + |
| 21 | +error[E0425]: cannot find value `args` in this scope |
| 22 | + --> $DIR/suggest-import-ice-issue-127302.rs:6:12 |
| 23 | + | |
| 24 | +LL | match &args.cmd { |
| 25 | + | ^^^^ not found in this scope |
| 26 | + | |
| 27 | +help: consider importing this function |
| 28 | + | |
| 29 | +LL + use std::env::args; |
| 30 | + | |
| 31 | + |
| 32 | +error[E0532]: expected unit struct, unit variant or constant, found module `crate::config` |
| 33 | + --> $DIR/suggest-import-ice-issue-127302.rs:7:9 |
| 34 | + | |
| 35 | +LL | crate::config => {} |
| 36 | + | ^^^^^^^^^^^^^ not a unit struct, unit variant or constant |
| 37 | + |
| 38 | +error: aborting due to 4 previous errors |
| 39 | + |
| 40 | +Some errors have detailed explanations: E0425, E0532, E0583. |
| 41 | +For more information about an error, try `rustc --explain E0425`. |
0 commit comments