fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
398 B14 linesraw
1error: reached the type-length limit while instantiating `D::matches::$CLOSURE`
2  --> $DIR/issue-22638.rs:52:5
3   |
4LL | /     pub fn matches<F: Fn()>(&self, f: &F) {
5LL | |
6LL | |         let &D(ref a) = self;
7LL | |         a.matches(f)
8LL | |     }
9   | |_____^
10   |
11   = note: consider adding a `#![type_length_limit="26214380"]` attribute to your crate
12
13error: aborting due to previous error
14