]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-22638.stderr
Rollup merge of #53271 - llogiq:simplify-maybe-map, r=joshtriplett
[rust.git] / src / test / ui / issues / issue-22638.stderr
1 error: reached the type-length limit while instantiating `D::matches::$CLOSURE`
2   --> $DIR/issue-22638.rs:62:5
3    |
4 LL | /     pub fn matches<F: Fn()>(&self, f: &F) {
5 LL | |         //~^ ERROR reached the type-length limit while instantiating `D::matches::<[closure
6 LL | |         let &D(ref a) = self;
7 LL | |         a.matches(f)
8 LL | |     }
9    | |_____^
10    |
11    = note: consider adding a `#![type_length_limit="40000000"]` attribute to your crate
12
13 error: aborting due to previous error
14