forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of rust-lang#134862 - compiler-errors:builtin-passes-that-…
…dont-need-to-run, r=<try> Filter out builtin lint passes that don't need to be run r? `@ghost`
- Loading branch information
Showing
10 changed files
with
63 additions
and
62 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
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
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
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 |
---|---|---|
|
@@ -30,3 +30,14 @@ pub struct S { | |
c: A, | ||
d: i8, | ||
} | ||
|
||
fn main() { | ||
let s = S { | ||
a: 0, | ||
b: 0, | ||
c: A(0), | ||
d: 0, | ||
}; | ||
|
||
let e = E::A(0); | ||
} |
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 |
---|---|---|
|
@@ -17,3 +17,8 @@ enum Repru8 { | |
A(u16), | ||
B, | ||
} | ||
|
||
fn main() { | ||
let c = ReprCu8::A(0); | ||
let r = Repru8::A(0); | ||
} |
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
22 changes: 0 additions & 22 deletions
22
tests/ui/traits/solver-cycles/129541-recursive-enum-and-array-impl.rs
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
tests/ui/traits/solver-cycles/129541-recursive-enum-and-array-impl.stderr
This file was deleted.
Oops, something went wrong.