rust/compiler/rustc_infer
Matthias Krüger f338a1f7ee
Rollup merge of #114301 - compiler-errors:dont-error-on-missing-region-outlives, r=spastorino
Don't check unnecessarily that impl trait is RPIT

We have this random `return_type_impl_trait` function to detect if a function returns an RPIT which is used in outlives suggestions, but removing it doesn't actually change any diagnostics. Let's just remove it.

Also, suppress a spurious outlives error from a ReError.

Fixes #114274
2023-08-02 06:22:48 +02:00
..
src Rollup merge of #114301 - compiler-errors:dont-error-on-missing-region-outlives, r=spastorino 2023-08-02 06:22:48 +02:00
Cargo.toml
messages.ftl More robust as_ref/as_deref suggestions 2023-06-08 16:30:05 +00:00