rust/tests/ui/chalkify/lower_env3.rs
2023-01-11 09:32:08 +00:00

17 lines
189 B
Rust

// check-pass
// compile-flags: -Z trait-solver=chalk
#![allow(dead_code)]
trait Foo {
fn foo(&self);
}
impl<T> Foo for T where T: Clone {
fn foo(&self) {
}
}
fn main() {
}