summaryrefslogtreecommitdiffstats
path: root/src/test/ui/suggestions/abi-typo.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/suggestions/abi-typo.stderr')
-rw-r--r--src/test/ui/suggestions/abi-typo.stderr14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/ui/suggestions/abi-typo.stderr b/src/test/ui/suggestions/abi-typo.stderr
new file mode 100644
index 000000000..67a84f119
--- /dev/null
+++ b/src/test/ui/suggestions/abi-typo.stderr
@@ -0,0 +1,14 @@
+error[E0703]: invalid ABI: found `cdedl`
+ --> $DIR/abi-typo.rs:2:8
+ |
+LL | extern "cdedl" fn cdedl() {}
+ | ^^^^^^^
+ | |
+ | invalid ABI
+ | help: did you mean: `"cdecl"`
+ |
+ = note: invoke `rustc --print=calling-conventions` for a full list of supported calling conventions.
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0703`.