rust/compiler/rustc_infer/src
Esteban Küber 8c04999226 On object safety error, mention new enum as alternative
When we encounter a `dyn Trait` that isn't object safe, look for its
implementors. If there's one, mention using it directly If there are
less than 9, mention the possibility of creating a new enum and using
that instead.

Account for object unsafe `impl Trait on dyn Trait {}`.  Make a
distinction between public and sealed traits.

Fix #80194.
2023-10-29 23:55:46 +00:00
..
errors Format all the let chains in compiler 2023-10-13 08:59:36 +00:00
infer Auto merge of #116733 - compiler-errors:alias-liveness-but-this-time-sound, r=aliemjay 2023-10-29 18:42:02 +00:00
traits On object safety error, mention new enum as alternative 2023-10-29 23:55:46 +00:00
lib.rs rustdoc: remove rust logo from non-Rust crates 2023-10-08 20:17:53 -07:00