summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-ui/diagnostic-width.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc-ui/diagnostic-width.stderr')
-rw-r--r--src/test/rustdoc-ui/diagnostic-width.stderr15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/rustdoc-ui/diagnostic-width.stderr b/src/test/rustdoc-ui/diagnostic-width.stderr
new file mode 100644
index 000000000..fed049d2b
--- /dev/null
+++ b/src/test/rustdoc-ui/diagnostic-width.stderr
@@ -0,0 +1,15 @@
+error: this URL is not a hyperlink
+ --> $DIR/diagnostic-width.rs:4:41
+ |
+LL | ... a http://link.com
+ | ^^^^^^^^^^^^^^^ help: use an automatic link instead: `<http://link.com>`
+ |
+note: the lint level is defined here
+ --> $DIR/diagnostic-width.rs:2:9
+ |
+LL | ...ny(rustdoc::bare_url...
+ | ^^^^^^^^^^^^^^^^^^
+ = note: bare URLs are not automatically turned into clickable links
+
+error: aborting due to previous error
+