about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/proc_macro.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-02-23 09:20:10 +0000
committerbors <bors@rust-lang.org>2023-02-23 09:20:10 +0000
commit07c993eba8b76eae497e98433ae075b00f01be10 (patch)
tree69748b387cb62fabe30006ca5e386aae4db38afb /compiler/rustc_expand/src/proc_macro.rs
parenteb909d81464900597b91f3bbf2a6bef10006c9ff (diff)
parent298ae8c721102c36243335653e57a7f94e08f94a (diff)
downloadrust-07c993eba8b76eae497e98433ae075b00f01be10.tar.gz
rust-07c993eba8b76eae497e98433ae075b00f01be10.zip
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.
Diffstat (limited to 'compiler/rustc_expand/src/proc_macro.rs')
0 files changed, 0 insertions, 0 deletions