add #4546 test
This commit is contained in:
parent
59cd77710d
commit
b68325ecf6
2 changed files with 20 additions and 0 deletions
|
|
@ -87,3 +87,21 @@ mod issue3414 {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// don't trigger
|
||||
mod issue4546 {
|
||||
use std::pin::Pin;
|
||||
|
||||
struct S;
|
||||
impl S {
|
||||
pub fn as_mut(self: Pin<&mut Self>) {}
|
||||
|
||||
pub fn as_other_thingy(self: Pin<&Self>) {}
|
||||
|
||||
pub fn is_other_thingy(self: Pin<&Self>) {}
|
||||
|
||||
pub fn to_mut(self: Pin<&mut Self>) {}
|
||||
|
||||
pub fn to_other_thingy(self: Pin<&Self>) {}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue