about summary refs log tree commit diff
path: root/tests/ui/lint/let_underscore
AgeCommit message (Collapse)AuthorLines
2025-08-19bless tests with new lint messagesKarol Zwolak-1/+1
2025-03-11Implement `#[define_opaque]` attribute for functions.Oli Scherer-3/+3
2025-02-14Trim suggestion parts to the subset that is purely additiveMichael Goulet-7/+7
2025-02-14Use underline suggestions for purely 'additive' replacementsMichael Goulet-21/+14
2025-02-10Show diff suggestion format on verbose replacementEsteban Küber-28/+42
``` error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields --> $DIR/attempted-access-non-fatal.rs:7:15 | LL | let _ = 2.l; | ^ | help: if intended to be a floating point literal, consider adding a `0` after the period and a `f64` suffix | LL - let _ = 2.l; LL + let _ = 2.0f64; | ```
2024-09-26Fix the misleading diagnostic for let_underscore_drop on type without Drop ↵makai410-8/+8
implementation
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-3/+3
2024-01-12Improve `let_underscore_lock`Nilstrieb-5/+85
- lint if the lock was in a nested pattern - lint if the lock is inside a `Result<Lock, _>`
2024-01-08Fix 2 variable binding issues in let_underscoreyukang-0/+101
2023-11-24Show number in error message even for one errorNilstrieb-1/+1
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-01-11Move /src/test to /testsAlbert Larsan-0/+63