rust/tests/ui/parser/lit-err-in-macro.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
651 B
Plaintext
Raw Permalink Normal View History

2023-06-15 01:55:30 +00:00
error: suffixes on string literals are invalid
--> $DIR/lit-err-in-macro.rs:7:4
|
LL | f!("Foo"__);
| ^^^^^^^ invalid suffix `__`
warning: `extern` declarations without an explicit ABI are deprecated
2024-10-31 10:39:45 +00:00
--> $DIR/lit-err-in-macro.rs:3:9
|
LL | extern $abi fn f() {}
| ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
2024-10-31 10:39:45 +00:00
...
LL | f!("Foo"__);
| ----------- in this macro invocation
|
= note: `#[warn(missing_abi)]` on by default
= note: this warning originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to 1 previous error; 1 warning emitted
2023-06-15 01:55:30 +00:00