diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2023-03-14 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2023-04-27 00:32:03 +0200 |
| commit | 6a8fcdc597236d28e916b7f02e80eec674a52616 (patch) | |
| tree | b4d6b79d9ee27bc901349325820578bb3b729cca /compiler/rustc_parse/src/errors.rs | |
| parent | 9c044d77a334609513f3b615e0763a40cc02424d (diff) | |
| download | rust-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
