bors
|
0011fac90d
|
Auto merge of #120017 - nnethercote:lint-api, r=oli-obk
Fix naming in the lint API
Methods for emit lints are named very inconsistently. This PR fixes that up.
r? `@compiler-errors`
|
2024-01-23 00:06:57 +00:00 |
|
Nicholas Nethercote
|
1881bfaa2b
|
Rename LintContext::emit_spanned_lint as LintContext::emit_span_lint .
|
2024-01-23 08:08:25 +11:00 |
|
Oli Scherer
|
9a20cf1697
|
Revert "Auto merge of #118133 - Urgau:stabilize_trait_upcasting, r=WaffleLapkin"
This reverts commit 6d2b84b3ed , reversing
changes made to 73bc12199e .
|
2024-01-22 14:24:31 +00:00 |
|
Michael Goulet
|
15fbcc3636
|
Rework supertrait lint once again
|
2023-11-22 21:51:39 +00:00 |
|
Urgau
|
4c2d6de70e
|
Stabilize RFC3324 dyn upcasting coercion
Aka trait_upcasting feature.
And also adjust the `deref_into_dyn_supertrait` lint.
|
2023-11-22 13:56:36 +01:00 |
|
Michael Goulet
|
e6ca8e1d18
|
Bump future release warning mode
|
2023-11-20 19:03:47 +00:00 |
|
Michael Goulet
|
63b34cf480
|
Don't consider regions in deref_into_dyn_supertrait lint
|
2023-11-20 19:03:46 +00:00 |
|
Michael Goulet
|
232f3146b3
|
Make sure that non-pretty-printing usages are using the correct elaborator
|
2023-10-18 03:05:38 +00:00 |
|
Michael Goulet
|
b2d2184ede
|
Format all the let chains in compiler
|
2023-10-13 08:59:36 +00:00 |
|
Ralf Jung
|
5586c2a68f
|
make the reason: field mandatory for @future_incompatible lints
|
2023-09-22 08:59:32 +02:00 |
|
Mahdi Dibaiee
|
e55583c4b8
|
refactor(rustc_middle): Substs -> GenericArg
|
2023-07-14 13:27:35 +01:00 |
|
clubby789
|
eebd31c187
|
Don't eagerly convert principal to string
|
2023-02-17 14:44:58 +00:00 |
|
Kyle Matsuda
|
c183110cc2
|
remove bound_type_of query; make type_of return EarlyBinder; change type_of in metadata
|
2023-02-16 17:05:56 -07:00 |
|
Kyle Matsuda
|
d822b97a27
|
change usages of type_of to bound_type_of
|
2023-02-16 17:01:52 -07:00 |
|
Rejyr
|
fe09291036
|
migrate: deref_into_dyn_supertrait.rs
|
2023-01-09 18:57:02 -05:00 |
|
Maybe Waffle
|
20f3de5ab1
|
Use nicer spans for deref_into_dyn_supertrait
|
2022-11-23 16:12:51 +00:00 |
|
Maybe Waffle
|
0d4a5c725a
|
Make deref_into_dyn_supertrait lint the impl and not the usage
|
2022-11-23 15:40:27 +00:00 |
|