summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-ui/issue-102986.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc-ui/issue-102986.stderr')
-rw-r--r--src/test/rustdoc-ui/issue-102986.stderr14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/rustdoc-ui/issue-102986.stderr b/src/test/rustdoc-ui/issue-102986.stderr
new file mode 100644
index 000000000..3a573726c
--- /dev/null
+++ b/src/test/rustdoc-ui/issue-102986.stderr
@@ -0,0 +1,14 @@
+error[E0516]: `typeof` is a reserved keyword but unimplemented
+ --> $DIR/issue-102986.rs:2:9
+ |
+LL | y: (typeof("hey"),),
+ | ^^^^^^^^^^^^^ reserved keyword
+ |
+help: consider replacing `typeof(...)` with an actual type
+ |
+LL | y: (&'static str,),
+ | ~~~~~~~~~~~~
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0516`.