summary refs log tree commit diff
path: root/src/tools/miri/tests/fail/rustc-error.stderr
blob: 09d0f7a6df955795aa95309385426d90f06b58e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0423]: expected function, found macro `println`
  --> $DIR/rustc-error.rs:LL:CC
   |
LL |     println("Hello, world!");
   |     ^^^^^^^ not a function
   |
help: use `!` to invoke the macro
   |
LL |     println!("Hello, world!");
   |            +

error: aborting due to previous error

For more information about this error, try `rustc --explain E0423`.