rust/tests/rustdoc-ui/disambiguator-endswith-named-suffix.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

396 lines
15 KiB
Plaintext
Raw Normal View History

warning: unmatched disambiguator `struct` and suffix `!()`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:4:6
|
LL | //! [struct@m!()]
| ^^^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
= note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
warning: unmatched disambiguator `struct` and suffix `()`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:7:6
|
LL | //! [struct@f()]
| ^^^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `struct` and suffix `!`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:8:6
|
LL | //! [struct@m!]
| ^^^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `enum` and suffix `!()`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:10:6
|
LL | //! [enum@m!()]
| ^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `enum` and suffix `()`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:13:6
|
LL | //! [enum@f()]
| ^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `enum` and suffix `!`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:14:6
|
LL | //! [enum@m!]
| ^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `trait` and suffix `!()`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:16:6
|
LL | //! [trait@m!()]
| ^^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `trait` and suffix `()`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:19:6
|
LL | //! [trait@f()]
| ^^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `trait` and suffix `!`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:20:6
|
LL | //! [trait@m!]
| ^^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `module` and suffix `!()`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:22:6
|
LL | //! [module@m!()]
| ^^^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `module` and suffix `()`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:25:6
|
LL | //! [module@f()]
| ^^^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `module` and suffix `!`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:26:6
|
LL | //! [module@m!]
| ^^^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `mod` and suffix `!()`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:28:6
|
LL | //! [mod@m!()]
| ^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `mod` and suffix `()`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:31:6
|
LL | //! [mod@f()]
| ^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `mod` and suffix `!`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:32:6
|
LL | //! [mod@m!]
| ^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `const` and suffix `!()`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:34:6
|
LL | //! [const@m!()]
| ^^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: incompatible link kind for `f`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:37:6
|
LL | //! [const@f()]
| ^^^^^^^^^ this link resolved to a function, which is not a constant
|
help: to link to the function, add parentheses
|
LL - //! [const@f()]
LL + //! [f()]
|
warning: unmatched disambiguator `const` and suffix `!`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:38:6
|
LL | //! [const@m!]
| ^^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `constant` and suffix `!()`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:40:6
|
LL | //! [constant@m!()]
| ^^^^^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: incompatible link kind for `f`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:43:6
|
LL | //! [constant@f()]
| ^^^^^^^^^^^^ this link resolved to a function, which is not a constant
|
help: to link to the function, add parentheses
|
LL - //! [constant@f()]
LL + //! [f()]
|
warning: unmatched disambiguator `constant` and suffix `!`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:44:6
|
LL | //! [constant@m!]
| ^^^^^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `static` and suffix `!()`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:46:6
|
LL | //! [static@m!()]
| ^^^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: incompatible link kind for `f`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:49:6
|
LL | //! [static@f()]
| ^^^^^^^^^^ this link resolved to a function, which is not a static
|
help: to link to the function, add parentheses
|
LL - //! [static@f()]
LL + //! [f()]
|
warning: unmatched disambiguator `static` and suffix `!`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:50:6
|
LL | //! [static@m!]
| ^^^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `function` and suffix `!()`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:52:6
|
LL | //! [function@m!()]
| ^^^^^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `function` and suffix `!`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:56:6
|
LL | //! [function@m!]
| ^^^^^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `fn` and suffix `!()`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:58:6
|
LL | //! [fn@m!()]
| ^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `fn` and suffix `!`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:62:6
|
LL | //! [fn@m!]
| ^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `method` and suffix `!()`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:64:6
|
LL | //! [method@m!()]
| ^^^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `method` and suffix `!`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:68:6
|
LL | //! [method@m!]
| ^^^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: incompatible link kind for `m`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:70:6
|
LL | //! [derive@m!()]
| ^^^^^^^^^^^ this link resolved to a macro, which is not a derive macro
|
help: to link to the macro, add an exclamation mark
|
LL - //! [derive@m!()]
LL + //! [m!!()]
|
warning: incompatible link kind for `m`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:71:6
|
LL | //! [derive@m!{}]
| ^^^^^^^^^^^ this link resolved to a macro, which is not a derive macro
|
help: to link to the macro, add an exclamation mark
|
LL - //! [derive@m!{}]
LL + //! [m!!{}]
|
warning: unmatched disambiguator `derive` and suffix `()`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:73:6
|
LL | //! [derive@f()]
| ^^^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: incompatible link kind for `m`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:74:6
|
LL | //! [derive@m!]
| ^^^^^^^^^ this link resolved to a macro, which is not a derive macro
|
help: to link to the macro, add an exclamation mark
|
LL - //! [derive@m!]
LL + //! [m!!]
|
warning: unmatched disambiguator `type` and suffix `!()`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:76:6
|
LL | //! [type@m!()]
| ^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `type` and suffix `()`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:79:6
|
LL | //! [type@f()]
| ^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `type` and suffix `!`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:80:6
|
LL | //! [type@m!]
| ^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `value` and suffix `!()`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:82:6
|
LL | //! [value@m!()]
| ^^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `value` and suffix `!`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:86:6
|
LL | //! [value@m!]
| ^^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `macro` and suffix `()`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:91:6
|
LL | //! [macro@f()]
| ^^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `prim` and suffix `!()`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:94:6
|
LL | //! [prim@m!()]
| ^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `prim` and suffix `()`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:97:6
|
LL | //! [prim@f()]
| ^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `prim` and suffix `!`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:98:6
|
LL | //! [prim@m!]
| ^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `primitive` and suffix `!()`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:100:6
|
LL | //! [primitive@m!()]
| ^^^^^^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `primitive` and suffix `()`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:103:6
|
LL | //! [primitive@f()]
| ^^^^^^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: unmatched disambiguator `primitive` and suffix `!`
2024-06-27 08:37:36 -05:00
--> $DIR/disambiguator-endswith-named-suffix.rs:104:6
|
LL | //! [primitive@m!]
| ^^^^^^^^^
|
2024-06-27 08:37:36 -05:00
= note: see https://doc.rust-lang.org/$CHANNEL/rustdoc/write-documentation/linking-to-items-by-name.html#namespaces-and-disambiguators for more info about disambiguators
warning: 46 warnings emitted