rust/tests/ui/chalkify/lower_env1.rs

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

15 lines
168 B
Rust
Raw Normal View History

2020-03-03 10:25:03 -06:00
// check-pass
2023-01-02 17:18:00 -06:00
// compile-flags: -Z trait-solver=chalk
2020-03-03 10:25:03 -06:00
#![allow(dead_code)]
trait Foo { }
trait Bar where Self: Foo { }
fn bar<T: Bar + ?Sized>() {
}
fn main() {
}