lazy_type_alias: return type references an anonymous lifetime, which is not constrained by the fn input types
#114220
Labels
A-lifetimes
Area: Lifetimes / regions
C-bug
Category: This is a bug.
F-lazy_type_alias
`#![feature(lazy_type_alias)]`
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
tests/ui/late-bound-lifetimes/late_bound_through_alias.rs
without
-Zcrate-attr=feature(lazy_type_alias)
: no warningswith
-Zcrate-attr=feature(lazy_type_alias)
:The text was updated successfully, but these errors were encountered: