-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
23 additions
and
80 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
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,12 +1,13 @@ | ||
thread 'rustc' panicked at 'Here is your ICE', plrustc/src/lints/force_ice.rs | ||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace | ||
|
||
error: internal compiler error: unexpected panic | ||
error: the compiler unexpectedly panicked. this is a bug. | ||
|
||
note: `plrustc` unexpectedly panicked. This is probably a bug. | ||
note: we would appreciate a bug report: https://github.com/tcdi/plrust/issues/new | ||
|
||
note: Please file a bug report at <https://github.com/tcdi/plrust/issues/new> | ||
note: rustc <version here> running on <target here> | ||
|
||
note: plrustc version: <version here> | ||
note: compiler flags: -C prefer-dynamic -Z ui-testing | ||
|
||
thread panicked while panicking. aborting. | ||
query stack during panic: | ||
thread panicked while processing panic. aborting. |
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,10 +1,9 @@ | ||
error: `Self` pattern on tuple struct used to access private field | ||
error[E0603]: tuple struct constructor `std::boxed::Box` is private | ||
--> $DIR/tuple_struct_self_pat_box.rs:10:13 | ||
| | ||
LL | let Self(ptr, _) = self; | ||
| ^^^^^^^^^^^^ | ||
| | ||
= note: `-F plrust-tuple-struct-self-pattern` implied by `-F plrust-lints` | ||
|
||
error: aborting due to previous error | ||
|
||
For more information about this error, try `rustc --explain E0603`. |
5 changes: 2 additions & 3 deletions
5
plrustc/plrustc/uitests/tuple_struct_self_pat_local_priv.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
error: `Self` pattern on tuple struct used to access private field | ||
error[E0603]: tuple struct constructor `my::Foo` is private | ||
--> $DIR/tuple_struct_self_pat_local_priv.rs:8:13 | ||
| | ||
LL | let Self(s) = self; | ||
| ^^^^^^^ | ||
| | ||
= note: `-F plrust-tuple-struct-self-pattern` implied by `-F plrust-lints` | ||
|
||
error: aborting due to previous error | ||
|
||
For more information about this error, try `rustc --explain E0603`. |
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,5 @@ | ||
[toolchain] | ||
channel = "1.70.0" | ||
channel = "1.71.1" | ||
components = [ "rustfmt", "rust-src", "rustc-dev", "cargo", "llvm-tools" ] | ||
targets = [ ] | ||
profile = "minimal" |
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,5 @@ | ||
[toolchain] | ||
channel = "1.70.0" | ||
channel = "1.71.1" | ||
components = [ "rustfmt", "rust-src", "rustc-dev", "llvm-tools" ] | ||
targets = [ ] | ||
profile = "minimal" |