Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
GitHub Copilot
Write better code with AI
GitHub Spark
New
Build and deploy intelligent apps
GitHub Models
New
Manage and compare prompts
GitHub Advanced Security
Find and fix vulnerabilities
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Discussions
Collaborate outside of code
Code Search
Find more, search less
Explore
Why GitHub
Documentation
GitHub Skills
Blog
Integrations
GitHub Marketplace
MCP Registry
View all features
Solutions
By company size
Enterprises
Small and medium teams
Startups
Nonprofits
By use case
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
By industry
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
Topics
AI
DevOps
Security
Software Development
View all
Explore
Learning Pathways
Events & Webinars
Ebooks & Whitepapers
Customer Stories
Partners
Executive Insights
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
Enterprise platform
AI-powered developer platform
Available add-ons
GitHub Advanced Security
Enterprise-grade security features
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
is:issue state:open label:A-temporary-lifetime-extension
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
rust-lang
/
rust
Public
Watch
Couldn't load subscription status.
Retry
Uh oh!
There was an error while loading.
Please reload this page
.
Fork
13.9k
Star
107k
Code
Issues
5k+
Pull requests
895
Actions
Projects
9
Security
Uh oh!
There was an error while loading.
Please reload this page
.
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Draft release notes for 1.91
#147010 ·
Mark-Simulacrum
opened
on Sep 25, 2025
20
Issues
Search Issues
is
:
issue
state
:
open
label
:
A-temporary-lifetime-extension
is:issue state:open label:A-temporary-lifetime-extension
Search
Labels
Milestones
New issue
Search results
Open
Closed
compiler and language documentation disagree on lifetime extension for array expressions
A-array
Area: `[T; N]`
Area: `[T; N]`
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
Area: Documentation for any part of the project, including the compiler, standard library, and tools
A-temporary-lifetime-extension
Area: temporary lifetime extension
Area: temporary lifetime extension
C-bug
Category: This is a bug.
Category: This is a bug.
I-lang-nominated
Nominated for discussion during a lang team meeting.
Nominated for discussion during a lang team meeting.
P-lang-drag-2
Lang team prioritization drag level 2.https://rust-lang.zulipchat.com/#narrow/channel/410516-t-lang.
Lang team prioritization drag level 2.https://rust-lang.zulipchat.com/#narrow/channel/410516-t-lang.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
T-lang
Relevant to the language team
Relevant to the language team
T-lang-docs
Relevant to the lang-docs team.
Relevant to the lang-docs team.
Status: Open.
#146092
In rust-lang/rust;
·
dianne
opened
on Sep 1, 2025
In consts, values with destructors can be lifetime-extended into statics.
A-const-eval
Area: Constant evaluation, covers all const contexts (static, const fn, ...)
Area: Constant evaluation, covers all const contexts (static, const fn, ...)
A-temporary-lifetime-extension
Area: temporary lifetime extension
Area: temporary lifetime extension
C-bug
Category: This is a bug.
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
T-lang
Relevant to the language team
Relevant to the language team
Status: Open.
#145868
In rust-lang/rust;
·
theemathas
opened
on Aug 26, 2025
<code>&raw const</code> can sometimes do temporary lifetime extension
A-raw-pointers
Area: raw pointers, MaybeUninit, NonNull
Area: raw pointers, MaybeUninit, NonNull
A-temporary-lifetime-extension
Area: temporary lifetime extension
Area: temporary lifetime extension
C-bug
Category: This is a bug.
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
T-lang
Relevant to the language team
Relevant to the language team
Status: Open.
#145813
In rust-lang/rust;
·
theemathas
opened
on Aug 24, 2025
Lifetime extension in consts/statics sometimes makes *less* code compile
A-const-eval
Area: Constant evaluation, covers all const contexts (static, const fn, ...)
Area: Constant evaluation, covers all const contexts (static, const fn, ...)
A-constant-promotion
Area: constant promotion
Area: constant promotion
A-lifetimes
Area: Lifetimes / regions
Area: Lifetimes / regions
A-temporary-lifetime-extension
Area: temporary lifetime extension
Area: temporary lifetime extension
C-bug
Category: This is a bug.
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
T-lang
Relevant to the language team
Relevant to the language team
Status: Open.
#143129
In rust-lang/rust;
·
RalfJung
opened
on Jun 28, 2025
ICE from using <code>super let</code> and <code>&raw</code> in <code>const</code>
A-temporary-lifetime-extension
Area: temporary lifetime extension
Area: temporary lifetime extension
C-bug
Category: This is a bug.
Category: This is a bug.
F-super_let
it's super, let's go!
it's super, let's go!
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
Status: Open.
#142229
In rust-lang/rust;
·
theemathas
opened
on Jun 9, 2025
You can’t perform that action at this time.