rust/compiler/rustc_hir_analysis/src/check
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
..
check.rs Rollup merge of #108760 - clubby789:autolintstuff, r=wesleywiser 2023-04-26 18:51:40 +02:00
compare_impl_item.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
dropck.rs Remove intercrate and mark_ambiguous from Relation 2023-04-04 00:09:12 +00:00
intrinsic.rs Add intrinsics::transmute_unchecked 2023-04-22 17:22:03 -07:00
intrinsicck.rs allow array-style simd in inline asm 2023-04-23 19:28:50 +12:00
mod.rs Migrate rustc_hir_analysis to session diagnostic 2023-04-21 23:50:03 +03:00
region.rs Split {Idx, IndexVec, IndexSlice} into their own modules 2023-04-24 13:53:35 +00:00
wfcheck.rs Rollup merge of #110556 - kylematsuda:earlybinder-explicit-item-bounds, r=compiler-errors 2023-04-25 21:06:32 +02:00