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
rust: task failed at 'No entry found for key: &{repr: 41}', /Users/indy/dev/guava/dep/rust-0.6/src/libcore/hashmap.rs:521
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=1,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues
rust: task failed at 'explicit failure', /Users/indy/dev/guava/dep/rust-0.6/src/librustc/rustc.rc:357
rust: domain main @0x7fbe4100c210 root task failed`
This error should be improved.
The text was updated successfully, but these errors were encountered:
Add lint for 'field_reassign_with_default` rust-lang#568
changelog: Add lint for field_reassign_with_default that checks if mutable object + field modification is used to edit a binding initialized with Default::default() instead of struct constructor.
Fixesrust-lang#568
Notes:
- Checks for reassignment of one or more fields of a binding initialized with Default::default().
- Implemented using EarlyLintPass, might be future proofed better with LateLintPass.
- Does not trigger if Default::default() is used via another type implementing Default.
- This is a re-open of [PR#4761](rust-lang/rust-clippy#4761), but I couldn't figure out how to re-open that one so here's a new one with the requested changes :S
With this block of code:
I get the error
This error should be improved.
The text was updated successfully, but these errors were encountered: