1 warning: function cannot return without recursing
2 --> $DIR/issue-8727.rs:7:1
5 | ^^^^^^^^^^^^^^^ cannot return without recursing
6 LL | generic::<Option<T>>();
7 | ---------------------- recursive call site
9 = note: `#[warn(unconditional_recursion)]` on by default
10 = help: a `loop` may express intention better if this is on purpose
12 error: reached the recursion limit while instantiating `generic::<Option<Option<Option<O...>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>`
13 --> $DIR/issue-8727.rs:8:5
15 LL | generic::<Option<T>>();
16 | ^^^^^^^^^^^^^^^^^^^^^^
18 note: `generic` defined here
19 --> $DIR/issue-8727.rs:7:1
21 LL | fn generic<T>() {
23 = note: the full type name has been written to '$TEST_BUILD_DIR/issues/issue-8727.polonius/issue-8727.long-type.txt'
25 error: aborting due to previous error; 1 warning emitted