Skip to content

Commit

Permalink
Remove doc(hidden) attribute that is being phased out
Browse files Browse the repository at this point in the history
    warning: `#[doc(hidden)]` is ignored on trait impl items
        --> src/parse.rs:1220:5
         |
    1220 |     #[doc(hidden)]
         |     ^^^^^^^^^^^^^^ help: remove this attribute
         |
         = note: `#[warn(unused_attributes)]` on by default
         = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
         = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item

    warning: `#[doc(hidden)]` is ignored on trait impl items
        --> src/parse.rs:1236:5
         |
    1236 |     #[doc(hidden)]
         |     ^^^^^^^^^^^^^^ help: remove this attribute
         |
         = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
         = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
  • Loading branch information
dtolnay committed May 10, 2022
1 parent 2e505a8 commit 11b4a93
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,6 @@ where
}
}

#[doc(hidden)]
#[cfg(any(feature = "full", feature = "derive"))]
fn __parse_scoped(self, scope: Span, tokens: TokenStream) -> Result<Self::Output> {
let buf = TokenBuffer::new2(tokens);
Expand All @@ -1233,7 +1232,6 @@ where
}
}

#[doc(hidden)]
#[cfg(any(feature = "full", feature = "derive"))]
fn __parse_stream(self, input: ParseStream) -> Result<Self::Output> {
self(input)
Expand Down

0 comments on commit 11b4a93

Please sign in to comment.