]> git.lizzy.rs Git - rust.git/blob - src/tools/miri/tests/fail/rustc-error.stderr
Auto merge of #100557 - dawnofmidnight:tarball-commit-info, r=Mark-Simulacrum
[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`.