]> git.lizzy.rs Git - rust.git/blob - tests/ui/chalkify/lower_env3.rs
Auto merge of #106711 - albertlarsan68:use-ci-llvm-when-lld, r=jyn514
[rust.git] / tests / ui / chalkify / lower_env3.rs
1 // check-pass
2 // compile-flags: -Z trait-solver=chalk
3
4 #![allow(dead_code)]
5
6 trait Foo {
7     fn foo(&self);
8 }
9
10 impl<T> Foo for T where T: Clone {
11     fn foo(&self) {
12     }
13 }
14
15 fn main() {
16 }