mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
a9da2be010
test: Add test for trait in FQS cast, issue #98565 Closes #98565 by adding a test to check for diagnostics when the built-in type `str` is used in a cast where a trait is expected.