rust/compiler/rustc_hir_analysis/src/collect
Matthias Krüger 309496cf29
Rollup merge of #108760 - clubby789:autolintstuff, r=wesleywiser
Add lint to deny diagnostics composed of static strings

r? ghost

I'm hoping to have a lint that semi-automatically converts simple diagnostics such as `struct_span_err(span, "msg").help("msg").span_note(span2, "msg").emit()` to typed session diagnostics. It's quite hacky and not entirely working because of problems with `x fix` but should hopefully help reduce some of the work.
I'm going to start trying to apply what I can from this, but opening this as a draft in case anyone wants to develop on it.

cc #100717
2023-04-26 18:51:40 +02:00
..
generics_of.rs Use local key in providers 2023-03-21 15:38:51 +00:00
item_bounds.rs add EarlyBinder to output of explicit_item_bounds; replace bound_explicit_item_bounds usages; remove bound_explicit_item_bounds query 2023-04-20 12:36:50 -06:00
predicates_of.rs fix clippy::{clone_on_copy, useless_conversion} 2023-04-15 19:02:26 +02:00
resolve_bound_vars.rs Fix static string lints 2023-04-25 18:59:55 +01:00
type_of.rs Remove opt_const_param_of. 2023-04-20 17:48:52 +00:00