Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/ui/unnecessary_mut_passed.fixed
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ fn main() {
my_struct.takes_raw_mut(a);
}

// not supported currently
// These shouldn't be linted, see https://github.com/rust-lang/rust-clippy/pull/15962#issuecomment-3503704832
fn raw_ptrs(my_struct: MyStruct) {
let mut n = 42;

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/unnecessary_mut_passed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ fn main() {
my_struct.takes_raw_mut(a);
}

// not supported currently
// These shouldn't be linted, see https://github.com/rust-lang/rust-clippy/pull/15962#issuecomment-3503704832
fn raw_ptrs(my_struct: MyStruct) {
let mut n = 42;

Expand Down
Loading