about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-03-08 11:04:20 -0700
committerMichael Howell <michael@notriddle.com>2022-03-09 09:52:55 -0700
commit32d7f8145a33d7b3061cf29dd997fd8c5d2117b6 (patch)
treef9263138ec54434e0921f3c1e6b5469b2a1ee989 /compiler/rustc_errors/src
parentd137c3a7bd3b180317044f8ccb9a8b4b3bb07db3 (diff)
downloadrust-32d7f8145a33d7b3061cf29dd997fd8c5d2117b6.tar.gz
rust-32d7f8145a33d7b3061cf29dd997fd8c5d2117b6.zip
diagnostics: use rustc_on_unimplemented to recommend `[].iter()`
To make this work, the `#[rustc_on_unimplemented]` data needs to be used to
report method resolution errors, which is most of what this commit does.

Fixes #94581
Diffstat (limited to 'compiler/rustc_errors/src')
0 files changed, 0 insertions, 0 deletions