Matthias Krüger
0a4702d011
Rollup merge of #120435 - chenyukang:yukang-fix-120427-cfg-name, r=Urgau,Nilstrieb
...
Suggest name value cfg when only value is used for check-cfg
Fixes #120427
r? `````````````@Nilstrieb`````````````
2024-02-06 22:45:41 +01:00
yukang
ad526d831e
add missing potential_query_instability for keys and values in hashmap
2024-01-30 12:43:10 +08:00
Yukang
0213c87e12
limit the names_possiblilities to less than 3
...
Co-authored-by: Urgau <3616612+Urgau@users.noreply.github.com>
2024-01-30 10:18:52 +08:00
yukang
c36798357d
Suggest name value cfg when only value is used for check-cfg
2024-01-28 23:25:07 +08:00
Urgau
41b69aae91
Add way to express no-values with check-cfg
2024-01-13 17:19:46 +01:00
Urgau
29afbbd5a9
Exclude well known names from showing a suggestion in check-cfg
2024-01-12 18:47:05 +01:00
Martin Nordholts
295d6003ac
rustc_lint: Enforce rustc::potential_query_instability
lint
...
Stop allowing `rustc::potential_query_instability` on all of
`rustc_lint` and instead allow it on a case-by-case basis if it is safe
to do so. In this particular crate, all lints were safe to allow.
2023-12-31 14:50:57 +01:00
Urgau
429287243b
Move around the code responsible for decorating builtin diagnostics
2023-12-30 16:17:14 +01:00