diff options
Diffstat (limited to 'tests/rustdoc-ui/diagnostic-width.rs')
-rw-r--r-- | tests/rustdoc-ui/diagnostic-width.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/diagnostic-width.rs b/tests/rustdoc-ui/diagnostic-width.rs new file mode 100644 index 000000000..290d9db77 --- /dev/null +++ b/tests/rustdoc-ui/diagnostic-width.rs @@ -0,0 +1,5 @@ +// compile-flags: --diagnostic-width=10 +#![deny(rustdoc::bare_urls)] + +/// This is a long line that contains a http://link.com +pub struct Foo; //~^ ERROR |