rust/src/test/ui/chalkify/basic.rs

13 lines
132 B
Rust

// check-pass
// compile-flags: -Z chalk
trait Foo {}
struct Bar {}
impl Foo for Bar {}
fn main() -> () {
let _ = Bar {};
}