summaryrefslogtreecommitdiffstats
path: root/src/test/ui/macros/macro-name-typo.stderr
blob: 3e8cfb3f0e97fba429aca99931f3de4959c64d86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: cannot find macro `printlx` in this scope
  --> $DIR/macro-name-typo.rs:2:5
   |
LL |     printlx!("oh noes!");
   |     ^^^^^^^ help: a macro with a similar name exists: `println`
   |
  ::: $SRC_DIR/std/src/macros.rs:LL:COL
   |
LL | macro_rules! println {
   | -------------------- similarly named macro `println` defined here

error: aborting due to previous error