rust/tests/ui/issues/issue-41744.rs
2024-02-16 20:02:50 +00:00

8 lines
94 B
Rust

//@ run-pass
trait Tc {}
impl Tc for bool {}
fn main() {
let _: &[&dyn Tc] = &[&true];
}