diff options
Diffstat (limited to 'tests/ui/rustdoc/doc-inline-extern-crate.rs')
| -rw-r--r-- | tests/ui/rustdoc/doc-inline-extern-crate.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/rustdoc/doc-inline-extern-crate.rs b/tests/ui/rustdoc/doc-inline-extern-crate.rs new file mode 100644 index 00000000000..0eb4c149060 --- /dev/null +++ b/tests/ui/rustdoc/doc-inline-extern-crate.rs @@ -0,0 +1,9 @@ +#[doc(inline)] +//~^ ERROR conflicting +#[doc(no_inline)] +pub extern crate core; + +// no warning +pub extern crate alloc; + +fn main() {} |
