rust/tests/ui/impl-trait/in-trait/foreign.rs
2023-03-14 10:20:35 -03:00

12 lines
265 B
Rust

// check-pass
// aux-build: rpitit.rs
// [next] compile-flags: -Zlower-impl-trait-in-trait-to-assoc-ty
// revisions: current next
extern crate rpitit;
fn main() {
// Witness an RPITIT from another crate
let () = <rpitit::Foreign as rpitit::Foo>::bar();
}