rust/tests/ui/chalkify/lower_env3.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
189 B
Rust
Raw Normal View History

2020-03-03 16:25:03 +00:00
// check-pass
2023-01-02 23:18:00 +00:00
// compile-flags: -Z trait-solver=chalk
2020-03-03 16:25:03 +00:00
#![allow(dead_code)]
trait Foo {
fn foo(&self);
}
impl<T> Foo for T where T: Clone {
fn foo(&self) {
}
}
fn main() {
}