]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generics/issue-98432.rs
Auto merge of #103600 - compiler-errors:early-binder-nits, r=spastorino
[rust.git] / src / test / ui / generics / issue-98432.rs
1 struct Struct<T>(T);
2
3 impl<T> Struct<T> {
4     const CONST: fn() = || {
5         struct _Obligation where T:; //~ ERROR can't use generic parameters from outer function
6     };
7 }
8
9 fn main() {}