diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2025-03-27 21:41:49 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-27 21:41:49 -0400 |
| commit | d837ab4489003cacfc0fd3f3df459db3d05e1edf (patch) | |
| tree | a14e034a40c3bea51629573de9cdd2f74a24ef62 /compiler/rustc_mir_transform/src/errors.rs | |
| parent | 5bd0fd632382c07f16e75b3eee664290dead587b (diff) | |
| parent | ed0a7988282e5bac6080197fb7a920c35e300ac3 (diff) | |
| download | rust-d837ab4489003cacfc0fd3f3df459db3d05e1edf.tar.gz rust-d837ab4489003cacfc0fd3f3df459db3d05e1edf.zip | |
Rollup merge of #139025 - compiler-errors:trim-validator-err, r=jieyouxu
Do not trim paths in MIR validator From my inline comment: ``` // The type checker formats a bunch of strings with type names in it, but these strings // are not always going to be encountered on the error path since the inliner also uses // the validator, and there are certain kinds of inlining (even for valid code) that // can cause validation errors (mostly around where clauses and rigid projections). ``` Fixes https://github.com/rust-lang/rust/issues/138979 r? `@jieyouxu`
Diffstat (limited to 'compiler/rustc_mir_transform/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
