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

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

11 lines
200 B
Rust
Raw Normal View History

2022-11-08 22:15:40 +00:00
//@ 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() {}