Open matthiaskrgr opened 5 hours ago
Command:
/home/gh-matthiaskrgr/.rustup/toolchains/local-debug-assertions/bin/rustc -Zincremental-verify-ich=yes -Cincremental=<dir> -Cdebuginfo=2 -Clink-dead-code=true -Zvalidate-mir --edition=2021
```
error[E0637]: `&` without an explicit lifetime name cannot be used here
--> /tmp/icemaker_global_tempdir.ZvogQMxAg8fE/rustc_testrunner_tmpdir_reporting.zBaNIyfi9tG5/mvce.rs:2:25
|
2 | let _ = for<'a> |x: &u8| -> &'a () { x };
| ^ explicit lifetime name needed here
error[E0658]: `for<...>` binders for closures are experimental
--> /tmp/icemaker_global_tempdir.ZvogQMxAg8fE/rustc_testrunner_tmpdir_reporting.zBaNIyfi9tG5/mvce.rs:2:13
|
2 | let _ = for<'a> |x: &u8| -> &'a () { x };
| ^^^^^^^
|
= note: see issue #97362
auto-reduced (treereduce-rust):
original:
Version information