rust/tests/ui/issues/issue-41744.rs
2023-01-11 09:32:08 +00:00

7 lines
93 B
Rust

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