Remove expansion restriction + fix doc and tests naming
This commit is contained in:
parent
2a3ee5fa85
commit
3cb75c2e5c
2 changed files with 27 additions and 13 deletions
|
|
@ -137,9 +137,9 @@ impl MutPointerReturnerOk {
|
|||
}
|
||||
}
|
||||
|
||||
struct MutPointerReturnerOk2;
|
||||
struct ConstPointerReturnerOk2;
|
||||
|
||||
impl MutPointerReturnerOk2 {
|
||||
impl ConstPointerReturnerOk2 {
|
||||
// should not trigger lint
|
||||
pub fn new() -> *const Self {
|
||||
unimplemented!();
|
||||
|
|
@ -283,7 +283,7 @@ mod issue5435 {
|
|||
}
|
||||
}
|
||||
|
||||
trait MutPointerReturnerOk2 {
|
||||
trait ConstPointerReturnerOk2 {
|
||||
// should not trigger lint
|
||||
fn new() -> *const Self
|
||||
where
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue