summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/cli-lint-override.warn_deny.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/lint/cli-lint-override.warn_deny.stderr')
-rw-r--r--src/test/ui/lint/cli-lint-override.warn_deny.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/ui/lint/cli-lint-override.warn_deny.stderr b/src/test/ui/lint/cli-lint-override.warn_deny.stderr
new file mode 100644
index 000000000..2d869adfd
--- /dev/null
+++ b/src/test/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
+ |
+ = note: requested on the command line with `-D missing-abi`
+ = help: the default ABI is C
+
+error: aborting due to previous error
+