Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
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
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
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
Type
/
to search
Sign in
Sign up
Appearance settings
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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
rust-lang
/
rust
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
15.4k
Star
115k
Code
Issues
5k+
Pull requests
1.3k
Actions
Projects
Security and quality
6
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Represent type-level consts with new-and-improved
hir::ConstArg
- #125915
#125915
Merged
bors
merged 10 commits into
rust-lang:master
rust-lang/rust:master
from
camelid:const-arg-refactor
camelid/rust:const-arg-refactor
Copy head branch name to clipboard
Jul 19, 2024
Conversation
Commits
10
(10)
Checks
Files changed
Merged
Represent type-level consts with new-and-improved
hir::ConstArg
#125915
bors
merged 10 commits into
rust-lang:master
rust-lang/rust:master
from
camelid:const-arg-refactor
camelid/rust:const-arg-refactor
Copy head branch name to clipboard
Commits
Commits on Jul 17, 2024
Add `current_def_id_parent` to `LoweringContext`
Show description for 71f8aed
camelid
committed
71f8aed
View commit details
Copy full SHA for 71f8aed
Browse repository at this point
hir: Create `hir::ConstArgKind` enum
Show description for 11b144a
camelid
committed
11b144a
View commit details
Copy full SHA for 11b144a
Browse repository at this point
Setup ast_lowering functions for `ConstArg`
camelid
committed
7d7be2f
View commit details
Copy full SHA for 7d7be2f
Browse repository at this point
Setup ty::Const functions for `ConstArg`
camelid
committed
e7c85cb
View commit details
Copy full SHA for e7c85cb
Browse repository at this point
Use `ConstArg` for assoc item constraints
camelid
committed
8818708
View commit details
Copy full SHA for 8818708
Browse repository at this point
Use `ConstArg` for array lengths
camelid
committed
67fccb7
View commit details
Copy full SHA for 67fccb7
Browse repository at this point
Use `ConstArg` for const param defaults
Show description for 1c49d40
camelid
committed
1c49d40
View commit details
Copy full SHA for 1c49d40
Browse repository at this point
Add `ConstArgKind::Path` and make `ConstArg` its own HIR node
Show description for 37ed7a4
camelid
committed
37ed7a4
View commit details
Copy full SHA for 37ed7a4
Browse repository at this point
Commits on Jul 18, 2024
Clarify docs explaining purpose of `ConstArg`
Show description for 2e4a0e3
camelid
and
BoxyUwU
committed
2e4a0e3
View commit details
Copy full SHA for 2e4a0e3
Browse repository at this point
Remove some unintended changes to imports
camelid
committed
c8457e6
View commit details
Copy full SHA for c8457e6
Browse repository at this point
You can’t perform that action at this time.