mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-30 17:55:31 +00:00
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.