Unnamed repository; edit this file 'description' to name the repository.
Rollup merge of #154225 - Unique-Usman:ua/rustc_confusable, r=Kivooeo
diagnostics: avoid ICE in confusable_method_name for associated functions Avoid unconditionally slicing `inputs()[1..]`, which assumes a `self` parameter. Use `is_method()` to conditionally skip the receiver, preventing out-of-bounds access and fixing suggestions for associated functions.
Jonathan Brouwer 8 weeks ago
parent 79a089c · parent d188f4c · commit 79acb5a
0 files changed, 0 insertions, 0 deletions