diff options
Diffstat (limited to 'tests/ui/lint/cli-lint-override.warn_deny.stderr')
-rw-r--r-- | tests/ui/lint/cli-lint-override.warn_deny.stderr | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/lint/cli-lint-override.warn_deny.stderr b/tests/ui/lint/cli-lint-override.warn_deny.stderr new file mode 100644 index 000000000..f034cfa93 --- /dev/null +++ b/tests/ui/lint/cli-lint-override.warn_deny.stderr @@ -0,0 +1,11 @@ +error: extern declarations without an explicit ABI are deprecated + --> $DIR/cli-lint-override.rs:12:1 + | +LL | extern fn foo() {} + | ^^^^^^^^^^^^^^^ ABI should be specified here + | + = help: the default ABI is C + = note: requested on the command line with `-D missing-abi` + +error: aborting due to previous error + |