]> git.lizzy.rs Git - rust.git/blob - tests/ui/chalkify/lower_env3.rs
Rollup merge of #105172 - alexs-sh:issue-98861-fix-next, r=scottmcm
[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 }