1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
error: emit!(span, from) test
--> tests/ui/emit.rs:3:7
|
3 | emit!(one, two, three, four, five);
| ^^^
error: emit!(span, expr1, expr2) test
--> tests/ui/emit.rs:3:12
|
3 | emit!(one, two, three, four, five);
| ^^^
error: emit!(span, single_expr) test
--> tests/ui/emit.rs:3:17
|
3 | emit!(one, two, three, four, five);
| ^^^^^
error: Diagnostic::emit() test
--> tests/ui/emit.rs:3:24
|
3 | emit!(one, two, three, four, five);
| ^^^^
error: emit_call_site_error!(expr) test
--> tests/ui/emit.rs:3:1
|
3 | emit!(one, two, three, four, five);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `emit` (in Nightly builds, run with -Z macro-backtrace for more info)
error: This is an error
= note: simple note
= help: simple help
= help: simple hint
= note: simple yay
= note: format note
= note: Some note
= note: spanned simple note
= note: spanned format note
= note: Some note
--> tests/ui/emit.rs:4:13
|
4 | emit_notes!(one, two);
| ^^^
|