fb7ab9e43d
Prior to this PR, when we aborted because a "critical pass" failed, we displayed the number of errors from that critical pass. While that's the number of errors that caused compilation to abort in *that place*, that's not what people really want to know. Instead, always report the total number of errors, and don't bother to track the number of errors from the last pass that failed. This changes the compiler driver API to handle errors more smoothly, and therefore is a compiler-api-[breaking-change]. Fixes #42793.
21 lines
432 B
Plaintext
21 lines
432 B
Plaintext
error[E0425]: cannot find value `a` in this scope
|
|
--> $DIR/issue-33525.rs:12:5
|
|
|
|
|
12 | a;
|
|
| ^ not found in this scope
|
|
|
|
error[E0609]: no field `lorem` on type `&'static str`
|
|
--> $DIR/issue-33525.rs:13:8
|
|
|
|
|
13 | "".lorem;
|
|
| ^^^^^
|
|
|
|
error[E0609]: no field `ipsum` on type `&'static str`
|
|
--> $DIR/issue-33525.rs:14:8
|
|
|
|
|
14 | "".ipsum;
|
|
| ^^^^^
|
|
|
|
error: aborting due to 3 previous errors
|
|
|