]> git.lizzy.rs Git - rust.git/blob - tests/ui/lifetimes/issue-84604.rs
Rollup merge of #107769 - compiler-errors:pointer-like, r=eholk
[rust.git] / tests / ui / lifetimes / issue-84604.rs
1 // run-pass
2 // compile-flags: -Csymbol-mangling-version=v0
3
4 pub fn f<T: ?Sized>() {}
5 pub trait Frob<T: ?Sized> {}
6 fn main() {
7     f::<dyn Frob<str>>();
8     f::<dyn for<'a> Frob<str>>();
9 }