rust/tests/ui/impl-trait
Oli Scherer c4371a79de
Rollup merge of #120530 - trevyn:issue-116434, r=compiler-errors
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```
2024-02-14 11:53:39 +01:00
..
2024-01-22 14:35:47 +00:00
2023-12-14 15:22:37 +01:00
2023-09-21 08:17:58 +02:00
2024-02-07 10:42:01 +08:00
2024-02-07 10:42:01 +08:00
2023-04-20 15:06:17 -03:00
2023-09-23 13:47:30 +00:00
2023-07-03 21:40:04 +00:00
2023-12-14 15:22:37 +01:00
2023-10-20 21:14:01 +00:00
2023-06-27 21:36:15 +00:00
2024-02-07 10:42:01 +08:00
2024-02-07 10:42:01 +08:00
2023-06-26 19:14:49 +00:00
2023-04-25 19:53:09 +00:00
2024-01-13 12:46:58 -05:00