about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/error-in-impl-trait/closure.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc-ui/error-in-impl-trait/closure.stderr')
-rw-r--r--src/test/rustdoc-ui/error-in-impl-trait/closure.stderr12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/rustdoc-ui/error-in-impl-trait/closure.stderr b/src/test/rustdoc-ui/error-in-impl-trait/closure.stderr
new file mode 100644
index 00000000000..4ee9c4d1f43
--- /dev/null
+++ b/src/test/rustdoc-ui/error-in-impl-trait/closure.stderr
@@ -0,0 +1,12 @@
+error[E0433]: failed to resolve: could not resolve path `content::doesnt::matter`
+  --> $DIR/closure.rs:3:8
+   |
+LL |     || content::doesnt::matter()
+   |        ^^^^^^^^^^^^^^^^^^^^^^^ could not resolve path `content::doesnt::matter`
+   |
+   = note: this error was originally ignored because you are running `rustdoc`
+   = note: try running again with `rustc` or `cargo check` and you may get a more detailed error
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0433`.