]> git.lizzy.rs Git - rust.git/blob - src/tools/miri/tests/fail/rustc-error.stderr
Add 'src/tools/miri/' from commit '75dd959a3a40eb5b4574f8d2e23aa6efbeb33573'
[rust.git] / src / tools / miri / tests / fail / rustc-error.stderr
1 error[E0423]: expected function, found macro `println`
2   --> $DIR/rustc-error.rs:LL:CC
3    |
4 LL |     println("Hello, world!");
5    |     ^^^^^^^ not a function
6    |
7 help: use `!` to invoke the macro
8    |
9 LL |     println!("Hello, world!");
10    |            +
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0423`.