1 error: unresolved link to `S::fmt`
2 --> $DIR/assoc-item-not-in-scope.rs:4:15
4 LL | /// Link to [`S::fmt`]
5 | ^^^^^^ the struct `S` has no field or associated item named `fmt`
7 note: the lint level is defined here
8 --> $DIR/assoc-item-not-in-scope.rs:1:9
10 LL | #![deny(rustdoc::broken_intra_doc_links)]
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13 error: aborting due to previous error