rust/compiler/rustc_middle
Matthias Krüger 8fd1df8c5f
Rollup merge of #127808 - oli-obk:tainting_visitors2, r=lcnr,nnethercote
Make ErrorGuaranteed discoverable outside types, consts, and lifetimes

types like `PatKind` could contain `ErrorGuaranteed`, but not return them via `tainted_by_errors` or `error_reported` (see https://github.com/rust-lang/rust/pull/127687#discussion_r1679027883). Now this happens, but it's a bit fragile as you can see with the `TypeSuperVisitable for Ty` impl.

We will catch any problems around Ty, Region or Const at runtime with an assert, and everything using derives will not have such issues, as it will just invoke the `TypeVisitable for ErrorGuaranteed` impl
2024-07-16 18:09:12 +02:00
..
src Rollup merge of #127808 - oli-obk:tainting_visitors2, r=lcnr,nnethercote 2024-07-16 18:09:12 +02:00
Cargo.toml Remove some unused crate dependencies. 2024-06-10 19:55:49 +10:00
README.md
messages.ftl Re-implement a type-size based limit 2024-07-02 15:48:48 -04:00

README.md

For more information about how rustc works, see the rustc dev guide.