mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 04:55:22 +03:00
b5d336ffae
Add `Span` to `TraitBoundModifier` This improves diagnostics for the message "`~const` is not allowed here", and also fixes the span that we use when desugaring `~const Tr` into `Tr<host>` in effects desugaring.