summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/internal/trivial-diagnostics.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/lint/internal/trivial-diagnostics.rs')
-rw-r--r--tests/ui/lint/internal/trivial-diagnostics.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/lint/internal/trivial-diagnostics.rs b/tests/ui/lint/internal/trivial-diagnostics.rs
new file mode 100644
index 000000000..e536e1164
--- /dev/null
+++ b/tests/ui/lint/internal/trivial-diagnostics.rs
@@ -0,0 +1,8 @@
+// compile-flags: -Zunstable-options
+
+pub fn issue_111280() {
+ struct_span_err(msg).emit(); //~ ERROR cannot find value `msg`
+ //~^ ERROR cannot find function `struct_span_err`
+}
+
+fn main() {}