You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using nightly (rustc 1.10.0-nightly (e0fd34b 2016-05-09)) on this snippet https://is.gd/jP3UYZ has less helpful error messages than stable when not using RUST_NEW_ERROR_FORMAT? E.g.
x.rs:4:15: 4:16 error: cannot borrow `a` as mutable more than once at a time [E0499]
x.rs:4 let c = &mut a;
^
x.rs:4 let b = &mut a;
^
x.rs:4 }
^
Third, tabs seem to be broken on the old error messages? I'm pretty sure they used to work E.g.
src/main.rs:79:35: 79:53 error: failed to resolve. Use of undeclared type or module `mem` [E0433]
src/main.rs:79 Moveable { v: Box::new(unsafe { mem::uninitialized() }) }
^~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
Fix for old school error issues, improvements to new school
This PR:
* Fixes some old school error issues, specifically #33559, #33543, #33366
* Improves wording borrowck errors with match patterns
* De-emphasize multi-line spans, so we don't color the single source character when we're trying to say "span starts here"
* Rollup of #33392 (which should help fix#33390)
r? @nikomatsakis
From #33240 (comment):
Using nightly (rustc 1.10.0-nightly (e0fd34b 2016-05-09)) on this snippet https://is.gd/jP3UYZ has less helpful error messages than stable when not using RUST_NEW_ERROR_FORMAT? E.g.
Third, tabs seem to be broken on the old error messages? I'm pretty sure they used to work E.g.
The text was updated successfully, but these errors were encountered: