blob: eb0368fa61b47578578f3a0aaa0aaa3f972e0ab8 [file] [edit]
error: conflicting doc inlining attributes
--> $DIR/doc-inline-validation.rs:29:7
|
LL | #[doc(inline)]
| ^^^^^^ this attribute...
...
LL | #[doc(no_inline, inline, no_inline)]
| ^^^^^^^^^ ...conflicts with this attribute
|
= help: remove one of the conflicting attributes
error: conflicting doc inlining attributes
--> $DIR/doc-inline-validation.rs:29:7
|
LL | #[doc(inline)]
| ^^^^^^ this attribute...
...
LL | #[doc(no_inline, inline, no_inline)]
| ^^^^^^^^^ ...conflicts with this attribute
|
= help: remove one of the conflicting attributes
error: conflicting doc inlining attributes
--> $DIR/doc-inline-validation.rs:37:7
|
LL | #[doc(no_inline)]
| ^^^^^^^^^ this attribute...
...
LL | #[doc(inline)]
| ^^^^^^ ...conflicts with this attribute
|
= help: remove one of the conflicting attributes
error: conflicting doc inlining attributes
--> $DIR/doc-inline-validation.rs:44:7
|
LL | #[doc(inline, no_inline)]
| ^^^^^^ ^^^^^^^^^ ...conflicts with this attribute
| |
| this attribute...
|
= help: remove one of the conflicting attributes
error: conflicting doc inlining attributes
--> $DIR/doc-inline-validation.rs:66:7
|
LL | #[doc(inline)]
| ^^^^^^ this attribute...
...
LL | #[doc(no_inline)]
| ^^^^^^^^^ ...conflicts with this attribute
|
= help: remove one of the conflicting attributes
error: this attribute can only be applied to a `use` item
--> $DIR/doc-inline-validation.rs:51:7
|
LL | #[doc(inline)]
| ^^^^^^ only applicable on `use` items
LL |
LL | pub fn fn_with_inline() {}
| -------------------------- not a `use` item
|
= note: read <https://doc.rust-lang.org/nightly/rustdoc/the-doc-attribute.html#inline-and-no_inline> for more information
note: the lint level is defined here
--> $DIR/doc-inline-validation.rs:50:8
|
LL | #[deny(invalid_doc_attributes)]
| ^^^^^^^^^^^^^^^^^^^^^^
error: this attribute can only be applied to a `use` item
--> $DIR/doc-inline-validation.rs:60:7
|
LL | #[doc(no_inline)]
| ^^^^^^^^^ only applicable on `use` items
LL |
LL | pub struct StructWithNoInline;
| ------------------------------ not a `use` item
|
= note: read <https://doc.rust-lang.org/nightly/rustdoc/the-doc-attribute.html#inline-and-no_inline> for more information
note: the lint level is defined here
--> $DIR/doc-inline-validation.rs:59:8
|
LL | #[deny(invalid_doc_attributes)]
| ^^^^^^^^^^^^^^^^^^^^^^
error: this attribute can only be applied to a `use` item
--> $DIR/doc-inline-validation.rs:66:7
|
LL | #[doc(inline)]
| ^^^^^^ only applicable on `use` items
...
LL | pub struct ConflictOnStruct;
| ---------------------------- not a `use` item
|
= note: read <https://doc.rust-lang.org/nightly/rustdoc/the-doc-attribute.html#inline-and-no_inline> for more information
note: the lint level is defined here
--> $DIR/doc-inline-validation.rs:65:8
|
LL | #[deny(invalid_doc_attributes)]
| ^^^^^^^^^^^^^^^^^^^^^^
error: this attribute can only be applied to a `use` item
--> $DIR/doc-inline-validation.rs:70:7
|
LL | #[doc(no_inline)]
| ^^^^^^^^^ only applicable on `use` items
LL |
LL | pub struct ConflictOnStruct;
| ---------------------------- not a `use` item
|
= note: read <https://doc.rust-lang.org/nightly/rustdoc/the-doc-attribute.html#inline-and-no_inline> for more information
warning: didn't expect any arguments here
--> $DIR/doc-inline-validation.rs:75:14
|
LL | #[doc(inline = "foo")]
| ^^^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: `#[warn(invalid_doc_attributes)]` on by default
error: aborting due to 9 previous errors; 1 warning emitted