about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/errors.rs
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2025-03-27 21:41:49 -0400
committerGitHub <noreply@github.com>2025-03-27 21:41:49 -0400
commitd837ab4489003cacfc0fd3f3df459db3d05e1edf (patch)
treea14e034a40c3bea51629573de9cdd2f74a24ef62 /compiler/rustc_mir_transform/src/errors.rs
parent5bd0fd632382c07f16e75b3eee664290dead587b (diff)
parented0a7988282e5bac6080197fb7a920c35e300ac3 (diff)
downloadrust-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