diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/rustdoc/doc-inline-extern-crate.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/rustdoc/doc-inline-extern-crate.rs b/src/test/ui/rustdoc/doc-inline-extern-crate.rs new file mode 100644 index 000000000..0eb4c1490 --- /dev/null +++ b/src/test/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() {} |