]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-37311-type-length-limit/issue-37311.polonius.stderr
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / issues / issue-37311-type-length-limit / issue-37311.polonius.stderr
1 error: reached the recursion limit while instantiating `<(&(&(&(&(&(&(&(&(&(&(&(&(&(&(&(.....), ...), ...) as Foo>::recurse`
2   --> $DIR/issue-37311.rs:17:9
3    |
4 LL |         (self, self).recurse();
5    |         ^^^^^^^^^^^^^^^^^^^^^^
6    |
7 note: `<T as Foo>::recurse` defined here
8   --> $DIR/issue-37311.rs:16:5
9    |
10 LL |     fn recurse(&self) {
11    |     ^^^^^^^^^^^^^^^^^
12    = note: the full type name has been written to '$TEST_BUILD_DIR/issues/issue-37311-type-length-limit/issue-37311.polonius/issue-37311.long-type.txt'
13
14 error: aborting due to previous error
15