inline const test for elided lifetimes being infer vars #110934
Labels
A-lifetimes
Area: Lifetimes / regions
A-resolve
Area: Name resolution
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
F-inline_const
Inline constants (aka: const blocks, const expressions, anonymous constants)
There should be a test for
feature(inline_const)
ensuring that it does not have the same bug as #110931 and #110933, that'_
inside of the const refers to'static
instead of inferring a lifetime. The following code is what passes and should be added as a test:The text was updated successfully, but these errors were encountered: