]> git.lizzy.rs Git - rust.git/blob - src/test/ui/mismatched_types/issue-19109.rs
Rollup merge of #93569 - notriddle:notriddle/rustdoc-html-tags-generics, r=CraftSpider
[rust.git] / src / test / ui / mismatched_types / issue-19109.rs
1 trait Trait { }
2
3 fn function(t: &mut dyn Trait) {
4     t as *mut dyn Trait
5  //~^ ERROR: mismatched types
6 }
7
8 fn main() { }