2023-05-27 00:29:08 +00:00
|
|
|
error: incompatible link kind for `Clone`
|
|
|
|
--> $DIR/weird-syntax.rs:18:7
|
|
|
|
|
|
|
|
|
LL | /// [`struct@Clone`]
|
|
|
|
| ^^^^^^^^^^^^ this link resolved to a trait, which is not a struct
|
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
|
|
|
--> $DIR/weird-syntax.rs:3:9
|
|
|
|
|
|
|
|
|
LL | #![deny(rustdoc::broken_intra_doc_links)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
help: to link to the trait, prefix with `trait@`
|
|
|
|
|
|
2024-07-09 22:30:26 +00:00
|
|
|
LL - /// [`struct@Clone`]
|
|
|
|
LL + /// [`trait@Clone`]
|
|
|
|
|
|
2023-05-27 00:29:08 +00:00
|
|
|
|
|
|
|
error: incompatible link kind for `Clone`
|
|
|
|
--> $DIR/weird-syntax.rs:21:9
|
|
|
|
|
|
|
|
|
LL | /// [```struct@Clone```]
|
|
|
|
| ^^^^^^^^^^^^ this link resolved to a trait, which is not a struct
|
|
|
|
|
|
|
|
|
help: to link to the trait, prefix with `trait@`
|
|
|
|
|
|
2024-07-09 22:30:26 +00:00
|
|
|
LL - /// [```struct@Clone```]
|
|
|
|
LL + /// [```trait@Clone```]
|
|
|
|
|
|
2023-05-27 00:29:08 +00:00
|
|
|
|
|
|
|
error: incompatible link kind for `Clone`
|
|
|
|
--> $DIR/weird-syntax.rs:24:11
|
|
|
|
|
|
|
|
|
LL | /// [ ` struct@Clone ` ]
|
|
|
|
| ^^^^^^^^^^^^ this link resolved to a trait, which is not a struct
|
|
|
|
|
|
|
|
|
help: to link to the trait, prefix with `trait@`
|
|
|
|
|
|
2024-07-09 22:30:26 +00:00
|
|
|
LL - /// [ ` struct@Clone ` ]
|
|
|
|
LL + /// [ ` trait@Clone ` ]
|
|
|
|
|
|
2023-05-27 00:29:08 +00:00
|
|
|
|
|
|
|
error: unresolved link to `Clone`
|
|
|
|
--> $DIR/weird-syntax.rs:27:9
|
|
|
|
|
|
|
|
|
LL | /// [ `Clone ()` ]
|
2024-10-04 16:45:34 +00:00
|
|
|
| ^^^^^^^^ this link resolves to the trait `Clone`, which is not a function
|
2023-05-27 00:29:08 +00:00
|
|
|
|
|
|
|
|
help: to link to the trait, prefix with `trait@`
|
|
|
|
|
|
|
|
|
LL - /// [ `Clone ()` ]
|
|
|
|
LL + /// [ `trait@Clone ` ]
|
|
|
|
|
|
|
|
|
|
|
|
|
error: unresolved link to `Clone`
|
|
|
|
--> $DIR/weird-syntax.rs:30:7
|
|
|
|
|
|
|
|
|
LL | /// [`Clone ()` ]
|
2024-10-04 16:45:34 +00:00
|
|
|
| ^^^^^^^^ this link resolves to the trait `Clone`, which is not a function
|
2023-05-27 00:29:08 +00:00
|
|
|
|
|
|
|
|
help: to link to the trait, prefix with `trait@`
|
|
|
|
|
|
|
|
|
LL - /// [`Clone ()` ]
|
|
|
|
LL + /// [`trait@Clone ` ]
|
|
|
|
|
|
|
|
|
|
|
|
|
error: unresolved link to `Clone`
|
|
|
|
--> $DIR/weird-syntax.rs:33:9
|
|
|
|
|
|
|
|
|
LL | /// [ `Clone ()`]
|
2024-10-04 16:45:34 +00:00
|
|
|
| ^^^^^^^^ this link resolves to the trait `Clone`, which is not a function
|
2023-05-27 00:29:08 +00:00
|
|
|
|
|
|
|
|
help: to link to the trait, prefix with `trait@`
|
|
|
|
|
|
|
|
|
LL - /// [ `Clone ()`]
|
|
|
|
LL + /// [ `trait@Clone `]
|
|
|
|
|
|
|
|
|
|
|
|
|
error: unresolved link to `Clone`
|
|
|
|
--> $DIR/weird-syntax.rs:36:9
|
|
|
|
|
|
|
|
|
LL | /// [```Clone ()```]
|
2024-10-04 16:45:34 +00:00
|
|
|
| ^^^^^^^^ this link resolves to the trait `Clone`, which is not a function
|
2023-05-27 00:29:08 +00:00
|
|
|
|
|
|
|
|
help: to link to the trait, prefix with `trait@`
|
|
|
|
|
|
|
|
|
LL - /// [```Clone ()```]
|
|
|
|
LL + /// [```trait@Clone ```]
|
|
|
|
|
|
|
|
|
|
|
|
|
error: unresolved link to `Clone`
|
|
|
|
--> $DIR/weird-syntax.rs:42:13
|
|
|
|
|
|
|
|
|
LL | /// [ ``` Clone () ``` ]
|
2024-10-04 16:45:34 +00:00
|
|
|
| ^^^^^^^^ this link resolves to the trait `Clone`, which is not a function
|
2023-05-27 00:29:08 +00:00
|
|
|
|
|
|
|
|
help: to link to the trait, prefix with `trait@`
|
|
|
|
|
|
|
|
|
LL - /// [ ``` Clone () ``` ]
|
|
|
|
LL + /// [ ``` trait@Clone ``` ]
|
|
|
|
|
|
|
|
|
|
|
|
|
error: incompatible link kind for `Clone`
|
|
|
|
--> $DIR/weird-syntax.rs:62:10
|
|
|
|
|
|
|
|
|
LL | /// [x][ struct@Clone]
|
|
|
|
| ^^^^^^^^^^^^ this link resolved to a trait, which is not a struct
|
|
|
|
|
|
|
|
|
help: to link to the trait, prefix with `trait@`
|
|
|
|
|
|
2024-07-09 22:30:26 +00:00
|
|
|
LL - /// [x][ struct@Clone]
|
|
|
|
LL + /// [x][ trait@Clone]
|
|
|
|
|
|
2023-05-27 00:29:08 +00:00
|
|
|
|
|
|
|
error: incompatible link kind for `Clone`
|
|
|
|
--> $DIR/weird-syntax.rs:65:9
|
|
|
|
|
|
|
|
|
LL | /// [x][struct@Clone ]
|
|
|
|
| ^^^^^^^^^^^^ this link resolved to a trait, which is not a struct
|
|
|
|
|
|
|
|
|
help: to link to the trait, prefix with `trait@`
|
|
|
|
|
|
2024-07-09 22:30:26 +00:00
|
|
|
LL - /// [x][struct@Clone ]
|
|
|
|
LL + /// [x][trait@Clone ]
|
|
|
|
|
|
2023-05-27 00:29:08 +00:00
|
|
|
|
|
|
|
error: unresolved link to `Clone`
|
|
|
|
--> $DIR/weird-syntax.rs:74:9
|
|
|
|
|
|
|
|
|
LL | /// [x][Clone()]
|
2024-10-04 16:45:34 +00:00
|
|
|
| ^^^^^^^ this link resolves to the trait `Clone`, which is not a function
|
2023-05-27 00:29:08 +00:00
|
|
|
|
|
|
|
|
help: to link to the trait, prefix with `trait@`
|
|
|
|
|
|
|
|
|
LL - /// [x][Clone()]
|
|
|
|
LL + /// [x][trait@Clone]
|
|
|
|
|
|
|
|
|
|
|
|
|
error: unresolved link to `Clone`
|
|
|
|
--> $DIR/weird-syntax.rs:77:9
|
|
|
|
|
|
|
|
|
LL | /// [x][Clone ()]
|
2024-10-04 16:45:34 +00:00
|
|
|
| ^^^^^^^^^ this link resolves to the trait `Clone`, which is not a function
|
2023-05-27 00:29:08 +00:00
|
|
|
|
|
|
|
|
help: to link to the trait, prefix with `trait@`
|
|
|
|
|
|
|
|
|
LL - /// [x][Clone ()]
|
|
|
|
LL + /// [x][trait@Clone ]
|
|
|
|
|
|
|
|
|
|
|
|
|
error: unresolved link to `x`
|
|
|
|
--> $DIR/weird-syntax.rs:80:6
|
|
|
|
|
|
|
|
|
LL | /// [x][Clone []
|
|
|
|
| ^ no item named `x` in scope
|
|
|
|
|
|
|
|
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
|
|
|
|
|
|
|
|
error: incompatible link kind for `Clone`
|
|
|
|
--> $DIR/weird-syntax.rs:91:10
|
|
|
|
|
|
|
|
|
LL | /// [w]( struct@Clone)
|
|
|
|
| ^^^^^^^^^^^^ this link resolved to a trait, which is not a struct
|
|
|
|
|
|
|
|
|
help: to link to the trait, prefix with `trait@`
|
|
|
|
|
|
2024-07-09 22:30:26 +00:00
|
|
|
LL - /// [w]( struct@Clone)
|
|
|
|
LL + /// [w]( trait@Clone)
|
|
|
|
|
|
2023-05-27 00:29:08 +00:00
|
|
|
|
|
|
|
error: incompatible link kind for `Clone`
|
|
|
|
--> $DIR/weird-syntax.rs:94:9
|
|
|
|
|
|
|
|
|
LL | /// [w](struct@Clone )
|
|
|
|
| ^^^^^^^^^^^^ this link resolved to a trait, which is not a struct
|
|
|
|
|
|
|
|
|
help: to link to the trait, prefix with `trait@`
|
|
|
|
|
|
2024-07-09 22:30:26 +00:00
|
|
|
LL - /// [w](struct@Clone )
|
|
|
|
LL + /// [w](trait@Clone )
|
|
|
|
|
|
2023-05-27 00:29:08 +00:00
|
|
|
|
|
|
|
error: unresolved link to `Clone`
|
|
|
|
--> $DIR/weird-syntax.rs:97:9
|
|
|
|
|
|
|
|
|
LL | /// [w](Clone\(\))
|
2024-10-04 16:45:34 +00:00
|
|
|
| ^^^^^^^^^ this link resolves to the trait `Clone`, which is not a function
|
2023-05-27 00:29:08 +00:00
|
|
|
|
|
|
|
|
help: to link to the trait, prefix with `trait@`
|
|
|
|
|
|
|
|
|
LL - /// [w](Clone\(\))
|
|
|
|
LL + /// [w](trait@Clone)
|
|
|
|
|
|
|
|
|
|
|
|
|
error: unresolved link to `Clone`
|
|
|
|
--> $DIR/weird-syntax.rs:103:9
|
|
|
|
|
|
|
|
|
LL | /// [w](Clone())
|
2024-10-04 16:45:34 +00:00
|
|
|
| ^^^^^^^ this link resolves to the trait `Clone`, which is not a function
|
2023-05-27 00:29:08 +00:00
|
|
|
|
|
|
|
|
help: to link to the trait, prefix with `trait@`
|
|
|
|
|
|
|
|
|
LL - /// [w](Clone())
|
|
|
|
LL + /// [w](trait@Clone)
|
|
|
|
|
|
|
|
|
|
|
|
|
error: unresolved link to `w`
|
|
|
|
--> $DIR/weird-syntax.rs:109:6
|
|
|
|
|
|
|
|
|
LL | /// [w](Clone ()
|
|
|
|
| ^ no item named `w` in scope
|
|
|
|
|
|
|
|
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
|
|
|
|
|
|
|
|
error: unresolved link to `w`
|
|
|
|
--> $DIR/weird-syntax.rs:112:6
|
|
|
|
|
|
|
|
|
LL | /// [w](Clone \()
|
|
|
|
| ^ no item named `w` in scope
|
|
|
|
|
|
|
|
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
|
|
|
|
|
|
|
|
error: unresolved link to `w`
|
|
|
|
--> $DIR/weird-syntax.rs:115:6
|
|
|
|
|
|
|
|
|
LL | /// [w](Clone \))
|
|
|
|
| ^ no item named `w` in scope
|
|
|
|
|
|
|
|
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
|
|
|
|
|
|
|
|
error: unresolved link to `cln`
|
|
|
|
--> $DIR/weird-syntax.rs:120:10
|
|
|
|
|
|
2025-01-31 18:55:53 +00:00
|
|
|
LL | /// The [cln][] link here is going to be unresolved, because `Clone()` gets
|
2023-05-27 00:29:08 +00:00
|
|
|
| ^^^ no item named `cln` in scope
|
|
|
|
|
|
|
|
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
|
|
|
|
|
|
|
|
error: unresolved link to `cln`
|
|
|
|
--> $DIR/weird-syntax.rs:123:6
|
|
|
|
|
|
|
|
|
LL | /// [cln]: Clone()
|
|
|
|
| ^^^ no item named `cln` in scope
|
|
|
|
|
|
|
|
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
|
|
|
|
|
2025-01-31 18:55:53 +00:00
|
|
|
error: incompatible link kind for `Clone`
|
|
|
|
--> $DIR/weird-syntax.rs:129:12
|
2023-05-27 00:29:08 +00:00
|
|
|
|
|
2025-01-31 18:55:53 +00:00
|
|
|
LL | /// [cln]: struct@Clone
|
|
|
|
| ^^^^^^^^^^^^ this link resolved to a trait, which is not a struct
|
2023-05-27 00:29:08 +00:00
|
|
|
|
|
2025-01-31 18:55:53 +00:00
|
|
|
help: to link to the trait, prefix with `trait@`
|
2023-05-27 00:29:08 +00:00
|
|
|
|
|
2025-01-31 18:55:53 +00:00
|
|
|
LL - /// [cln]: struct@Clone
|
|
|
|
LL + /// [cln]: trait@Clone
|
2023-05-27 00:29:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
error: unresolved link to `Clone`
|
2025-01-31 18:55:53 +00:00
|
|
|
--> $DIR/weird-syntax.rs:135:12
|
|
|
|
|
|
|
|
|
LL | /// [cln]: Clone\(\)
|
|
|
|
| ^^^^^^^^^ this link resolves to the trait `Clone`, which is not a function
|
|
|
|
|
|
|
|
|
help: to link to the trait, prefix with `trait@`
|
2023-05-27 00:29:08 +00:00
|
|
|
|
|
2025-01-31 18:55:53 +00:00
|
|
|
LL - /// [cln]: Clone\(\)
|
|
|
|
LL + /// [cln]: trait@Clone
|
2023-05-27 00:29:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
error: incompatible link kind for `Clone`
|
2025-01-31 18:55:53 +00:00
|
|
|
--> $DIR/weird-syntax.rs:141:12
|
2023-05-27 00:29:08 +00:00
|
|
|
|
|
2025-01-31 18:55:53 +00:00
|
|
|
LL | /// [cln]: struct\@Clone
|
|
|
|
| ^^^^^^^^^^^^^ this link resolved to a trait, which is not a struct
|
2023-05-27 00:29:08 +00:00
|
|
|
|
|
2025-01-31 18:55:53 +00:00
|
|
|
help: to link to the trait, prefix with `trait@`
|
|
|
|
|
|
|
|
|
LL - /// [cln]: struct\@Clone
|
|
|
|
LL + /// [cln]: trait@struct
|
|
|
|
|
|
|
|
|
|
|
|
|
error: incompatible link kind for `Clone`
|
|
|
|
--> $DIR/weird-syntax.rs:149:12
|
|
|
|
|
|
|
|
|
LL | /// [cln]: struct\@Clone
|
|
|
|
| ^^^^^^^^^^^^^ this link resolved to a trait, which is not a struct
|
|
|
|
|
|
|
|
|
help: to link to the trait, prefix with `trait@`
|
|
|
|
|
|
|
|
|
LL - /// [cln]: struct\@Clone
|
|
|
|
LL + /// [cln]: trait@struct
|
|
|
|
|
|
|
|
|
|
|
|
|
error: unresolved link to `the`
|
|
|
|
--> $DIR/weird-syntax.rs:155:56
|
|
|
|
|
|
|
|
|
LL | /// - [`SDL_PROP_WINDOW_CREATE_COCOA_WINDOW_POINTER`]: the
|
|
|
|
| ^^^ no item named `the` in scope
|
|
|
|
|
|
|
|
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
|
2023-05-27 00:29:08 +00:00
|
|
|
|
2025-01-31 18:55:53 +00:00
|
|
|
error: aborting due to 27 previous errors
|
2023-05-27 00:29:08 +00:00
|
|
|
|