mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 01:25:15 +00:00
* check mut restriction when tuple ctor is used as a value * add missing stderr file for mut-restriction ctor value test * simplify def_kind matching in tuple ctor mut restriction check Match the DefKind::Ctor directly on the result of tcx.def_kind instead of binding it to a local first. Extend the ctor-value ui test with additional enum variants covering plain and crate-restricted fields. * test: exercise new ctor variants * address review: drop shell.nix, add tests