about summary refs log tree commit diff
path: root/tests/ui/explain/error-with-no-explanation.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/explain/error-with-no-explanation.rs')
-rw-r--r--tests/ui/explain/error-with-no-explanation.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/explain/error-with-no-explanation.rs b/tests/ui/explain/error-with-no-explanation.rs
new file mode 100644
index 00000000000..383820eb458
--- /dev/null
+++ b/tests/ui/explain/error-with-no-explanation.rs
@@ -0,0 +1,3 @@
+// It's a valid error with no added explanation
+//@ compile-flags: --explain E9999
+//~? ERROR: E9999 is not a valid error code