Esteban Küber
553508c22e
Reword confusable idents lint
...
Fix #76140 .
2023-08-04 16:46:08 +00:00
DaniPopes
677357d32b
Fix typos in compiler
2023-04-10 22:02:52 +02:00
Rejyr
88e5dd2530
refactor: cleanup
2023-01-09 18:57:02 -05:00
Rejyr
3f69c1b523
migrate: non_ascii_idents.rs
2023-01-09 17:07:25 -05:00
Nilstrieb
c65ebae221
Migrate all diagnostics
2022-10-23 10:09:44 +02:00
Maybe Waffle
a8f7e244b7
Refactor rustc lint API
2022-10-01 10:03:06 +00:00
David Wood
48e4bf115f
lint: port non-ascii-idents diagnostics
...
Signed-off-by: David Wood <david.wood@huawei.com>
2022-06-30 08:59:21 +01:00
mark
bb8d4307eb
rustc_error: make ErrorReported impossible to construct
...
There are a few places were we have to construct it, though, and a few
places that are more invasive to change. To do this, we create a
constructor with a long obvious name.
2022-03-16 10:35:24 -05:00
est31
2ef8af6619
Adopt let else in more places
2022-02-19 17:27:43 +01:00
Vadim Petrochenkov
452aa81770
rustc_lint: Remove some redundant fields from EarlyContext
...
Use consistent function parameter order for early context construction and early linting
Rename some functions to make it clear that they do not necessarily work on the whole crate
2022-01-23 18:51:51 +08:00
Nicholas Nethercote
056d48a2c9
Remove unnecessary sigils around Symbol::as_str() calls.
2021-12-15 17:32:14 +11:00
Hirochika Matsumoto
3818981ca1
Practice diagnostic message convention
2021-10-03 16:16:28 +09:00
Charles Lew
e5f9271f36
Stablize non_ascii_idents feature.
2021-04-08 02:52:00 +08:00
bors
9b4154193e
Auto merge of #76541 - matthiaskrgr:unstable_sort, r=davidtwco
...
use sort_unstable to sort primitive types
It's not important to retain original order if we have &[1, 1, 2, 3] for example.
clippy::stable_sort_primitive
2020-09-14 21:43:17 +00:00
Eric Huss
45c1e0ae07
Auto-generate lint documentation.
2020-09-13 08:48:03 -07:00
Matthias Krüger
b4935e0726
use sort_unstable to sort primitive types
...
It's not important to retain original order if we have &[1, 1, 2, 3] for example.
clippy::stable_sort_primitive
2020-09-10 00:03:58 +02:00
mark
9e5f7d5631
mv compiler to compiler/
2020-08-30 18:45:07 +03:00