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_LOG=rustc=1,::rt::backtrace rustc enum-match-ice.rs
rust: task failed at 'Non-constant path in constant expr', /------/rust/src/librustc/middle/const_eval.rs:245
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', /------/rust/src/librustc/rustc.rc:355
rust: domain main @0x7ffc9a00ba10 root task failed
The text was updated successfully, but these errors were encountered:
New lint: vec_init_then_push
fixes: rust-lang#1483
This will trigger on `new`, `default`, and `with_capacity` when the given capacity is less than or equal to the number of push calls. Is there anything else this should trigger on?
changelog: Added lint: `vec_init_then_push`
This could be related to #6533 and #6449
Error:
The text was updated successfully, but these errors were encountered: