mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 11:17:04 +00:00

tweak suggestion for argument-position `impl ?Sized` fixes this invalid suggestion: ```text help: consider removing the `?Sized` bound to make the type parameter `Sized` | 1 - fn foo(_: impl ?Sized) {} 1 + fn foo(_: impl ) {} | ```
For more information about how rustc works, see the rustc dev guide.