diff options
Diffstat (limited to 'src/test/rustdoc-ui/assoc-item-not-in-scope.rs')
-rw-r--r-- | src/test/rustdoc-ui/assoc-item-not-in-scope.rs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/test/rustdoc-ui/assoc-item-not-in-scope.rs b/src/test/rustdoc-ui/assoc-item-not-in-scope.rs deleted file mode 100644 index 0976515f4..000000000 --- a/src/test/rustdoc-ui/assoc-item-not-in-scope.rs +++ /dev/null @@ -1,22 +0,0 @@ -#![deny(rustdoc::broken_intra_doc_links)] - -#[derive(Debug)] -/// Link to [`S::fmt`] -//~^ ERROR unresolved link -pub struct S; - -pub mod inner { - use std::fmt::Debug; - use super::S; - - /// Link to [`S::fmt`] - pub fn f() {} -} - -pub mod ambiguous { - use std::fmt::{Display, Debug}; - use super::S; - - /// Link to [`S::fmt`] - pub fn f() {} -} |