diff options
Diffstat (limited to 'src/test/rustdoc-ui/intra-doc/prim-conflict.rs')
-rw-r--r-- | src/test/rustdoc-ui/intra-doc/prim-conflict.rs | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/test/rustdoc-ui/intra-doc/prim-conflict.rs b/src/test/rustdoc-ui/intra-doc/prim-conflict.rs deleted file mode 100644 index 2c1a8b535..000000000 --- a/src/test/rustdoc-ui/intra-doc/prim-conflict.rs +++ /dev/null @@ -1,30 +0,0 @@ -#![deny(rustdoc::broken_intra_doc_links)] -//~^ NOTE lint level is defined - -/// [char] -//~^ ERROR both a module and a builtin type -//~| NOTE ambiguous link -//~| HELP to link to the module -//~| HELP to link to the builtin type - -/// [type@char] -//~^ ERROR both a module and a builtin type -//~| NOTE ambiguous link -//~| HELP to link to the module -//~| HELP to link to the builtin type - -/// [mod@char] // ok -/// [prim@char] // ok - -/// [struct@char] -//~^ ERROR incompatible link -//~| HELP prefix with `mod@` -//~| NOTE resolved to a module -pub mod char {} - -pub mod inner { - //! [struct@char] - //~^ ERROR incompatible link - //~| HELP prefix with `prim@` - //~| NOTE resolved to a builtin type -} |