]> git.lizzy.rs Git - rust.git/blob - tests/ui/type-alias-impl-trait/issue-53398-cyclic-types.stderr
Auto merge of #106458 - albertlarsan68:move-tests, r=jyn514
[rust.git] / tests / ui / type-alias-impl-trait / issue-53398-cyclic-types.stderr
1 error[E0275]: overflow evaluating the requirement `Foo: Sized`
2   --> $DIR/issue-53398-cyclic-types.rs:5:13
3    |
4 LL | fn foo() -> Foo {
5    |             ^^^
6    |
7    = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_53398_cyclic_types`)
8    = note: required because it appears within the type `fn() -> Foo {foo}`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0275`.