rust/tests/ui/late-bound-lifetimes/cross_crate_alias.rs
2024-02-16 20:02:50 +00:00

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() {}