about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/errors.rs
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2023-03-14 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2023-04-27 00:32:03 +0200
commit6a8fcdc597236d28e916b7f02e80eec674a52616 (patch)
treeb4d6b79d9ee27bc901349325820578bb3b729cca /compiler/rustc_parse/src/errors.rs
parent9c044d77a334609513f3b615e0763a40cc02424d (diff)
downloadrust-6a8fcdc597236d28e916b7f02e80eec674a52616.tar.gz
rust-6a8fcdc597236d28e916b7f02e80eec674a52616.zip
Don't validate constants before propagation
Validation is neither necessary nor desirable.

The validation is already omitted at mir-opt-level >= 3, so there there
are not changes in MIR test output (the propagation of invalid constants
is covered by an existing test in tests/mir-opt/const_prop/invalid_constant.rs).
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions