Skip to content

Commit

Permalink
Allow missing docs on the pin projection constant
Browse files Browse the repository at this point in the history
Temporary fix for taiki-e#77

Signed-off-by: John Nunley <[email protected]>
  • Loading branch information
notgull committed Aug 6, 2023
1 parent 220ea32 commit 1b376f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,7 @@ macro_rules! __pin_project_constant {
$(impl $($pinned_drop:tt)*)?
) => {
#[allow(explicit_outlives_requirements)] // https://github.com/rust-lang/rust/issues/60993
#[allow(missing_docs)] // https://github.com/taiki-e/pin-project-lite/issues/77
#[allow(single_use_lifetimes)] // https://github.com/rust-lang/rust/issues/55058
// This lint warns of `clippy::*` generated by external macros.
// We allow this lint for compatibility with older compilers.
Expand Down Expand Up @@ -583,6 +584,7 @@ macro_rules! __pin_project_constant {
}
$(impl $($pinned_drop:tt)*)?
) => {
#[allow(missing_docs)] // https://github.com/taiki-e/pin-project-lite/issues/77
#[allow(single_use_lifetimes)] // https://github.com/rust-lang/rust/issues/55058
// This lint warns of `clippy::*` generated by external macros.
// We allow this lint for compatibility with older compilers.
Expand Down

0 comments on commit 1b376f4

Please sign in to comment.