rust/compiler/rustc_borrowck
bors 07c993eba8 Auto merge of #108369 - compiler-errors:ty-error-more, r=BoxyUwU
Use `tcx.ty_error_with_guaranteed` in more places, rename variants

1. Use `ty_error_with_guaranteed` more so we don't delay so many span bugs
2. Rename `ty_error_with_guaranteed` to `ty_error`, `ty_error` to `ty_error_misc`. This is to incentivize using the former over the latter in cases where we already are witness to a `ErrorGuaranteed` token.

Second commit is just name replacement, so the first commit can be reviewed on its own with more scrutiny.
2023-02-23 09:20:10 +00:00
..
locales errors: generate typed identifiers in each crate 2023-02-22 09:15:53 +00:00
src Auto merge of #108369 - compiler-errors:ty-error-more, r=BoxyUwU 2023-02-23 09:20:10 +00:00
Cargo.toml Do not use hir_ty_to_ty 2022-12-23 16:45:16 -08:00