mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
c4371a79de
Be less confident when `dyn` suggestion is not checked for object safety #120275 no longer checks bare traits for object safety when making a `dyn` suggestion on Rust < 2021. In this case, qualify the suggestion with a note that the trait must be object safe, to prevent user confusion as seen in #116434 r? ```@fmease```