]> git.lizzy.rs Git - rust.git/blob - tests/ui/chalkify/lower_env1.rs
Rollup merge of #106321 - compiler-errors:delayed-bug-backtrace, r=Nilstrieb
[rust.git] / tests / ui / chalkify / lower_env1.rs
1 // check-pass
2 // compile-flags: -Z trait-solver=chalk
3
4 #![allow(dead_code)]
5
6 trait Foo { }
7
8 trait Bar where Self: Foo { }
9
10 fn bar<T: Bar + ?Sized>() {
11 }
12
13 fn main() {
14 }