rust/compiler/rustc_hir_analysis/src
Matthias Krüger d37de53425
Rollup merge of #119803 - oli-obk:even_more_follow_up_errors, r=compiler-errors
Silence some follow-up errors [1/x]

this is one piece of the requested cleanups from https://github.com/rust-lang/rust/pull/117449

When we use `-> impl SomeTrait<_>` as a return type, we are both using the "infer return type suggestion" code path, and the infer opaque type code path within the same function. That can lead to confusing diagnostics, so silence all opaque type diagnostics in that case.
2024-01-11 03:02:43 +01:00
..
astconv Rename consuming chaining methods on DiagnosticBuilder. 2024-01-10 07:40:00 +11:00
check Rename consuming chaining methods on DiagnosticBuilder. 2024-01-10 07:40:00 +11:00
coherence Rename consuming chaining methods on DiagnosticBuilder. 2024-01-10 07:40:00 +11:00
collect Rollup merge of #119803 - oli-obk:even_more_follow_up_errors, r=compiler-errors 2024-01-11 03:02:43 +01:00
impl_wf_check Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
outlives Imply outlives-bounds on lazy type aliases 2023-12-28 02:03:43 +01:00
structured_errors Rename consuming chaining methods on DiagnosticBuilder. 2024-01-10 07:40:00 +11:00
variance Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
autoderef.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
bounds.rs ~const trait or projection bounds do not imply non-const bounds 2024-01-08 15:01:14 +00:00
check_unused.rs Don't pass lint back out of lint decorator 2023-12-15 16:05:36 +00:00
collect.rs Turn some free functions into methods 2024-01-10 08:52:44 +00:00
constrained_generic_params.rs finish RegionKind rename 2023-11-14 13:13:27 +00:00
errors.rs Disallow reference to static mut for expressions 2024-01-06 06:31:35 +03:00
hir_wf_check.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
impl_wf_check.rs Rename struct_span_err! as struct_span_code_err!. 2024-01-10 07:33:04 +11:00
lib.rs Avoid silencing relevant follow-up errors 2024-01-09 21:08:16 +00:00
structured_errors.rs Give DiagnosticBuilder a default type. 2023-12-23 13:23:10 +11:00