rust/tests/ui/late-bound-lifetimes/cross_crate_alias.rs

11 lines
200 B
Rust

//@ aux-build:upstream_alias.rs
//@ check-pass
extern crate upstream_alias;
fn foo<'a, T: for<'b> upstream_alias::Trait<'b>>(_: upstream_alias::Alias<'a, T>) -> &'a () {
todo!()
}
fn main() {}