-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make it allow-by-default to appease CI
- Loading branch information
Showing
8 changed files
with
30 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
tests/ui/pattern/move-ref-patterns/move-ref-patterns-default-binding-modes-fixable.fixed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
// run-rustfix | ||
#![allow(unused_variables)] | ||
#![warn(dereferencing_mut_binding)] | ||
fn main() { | ||
struct U; | ||
|
||
|
1 change: 1 addition & 0 deletions
1
tests/ui/pattern/move-ref-patterns/move-ref-patterns-default-binding-modes-fixable.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
// run-rustfix | ||
#![allow(unused_variables)] | ||
#![warn(dereferencing_mut_binding)] | ||
fn main() { | ||
struct U; | ||
|
||
|
12 changes: 8 additions & 4 deletions
12
tests/ui/pattern/move-ref-patterns/move-ref-patterns-default-binding-modes-fixable.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
tests/ui/pattern/move-ref-patterns/move-ref-patterns-default-binding-modes.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#![warn(dereferencing_mut_binding)] | ||
fn main() { | ||
struct U; | ||
|
||
|
12 changes: 8 additions & 4 deletions
12
tests/ui/pattern/move-ref-patterns/move-ref-patterns-default-binding-modes.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#![warn(dereferencing_mut_binding)] | ||
struct Foo {} | ||
|
||
pub fn main() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters