diff options
Diffstat (limited to 'tests/rustdoc-ui/intra-doc/issue-111189-resolution-ice.rs')
-rw-r--r-- | tests/rustdoc-ui/intra-doc/issue-111189-resolution-ice.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/intra-doc/issue-111189-resolution-ice.rs b/tests/rustdoc-ui/intra-doc/issue-111189-resolution-ice.rs new file mode 100644 index 000000000..4e74278dc --- /dev/null +++ b/tests/rustdoc-ui/intra-doc/issue-111189-resolution-ice.rs @@ -0,0 +1,10 @@ +// Regression test for <https://github.com/rust-lang/rust/issues/111189>. +// This test ensures that it doesn't crash. + +#![deny(warnings)] + +/// #[rustfmt::skip] +//~^ ERROR unresolved link to `rustfmt::skip` +/// #[clippy::whatever] +//~^ ERROR unresolved link to `clippy::whatever` +pub fn foo() {} |