Skip to content
Navigation Menu
Toggle navigation
Sign in
Product
GitHub Copilot
Write better code with AI
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
All features
Documentation
GitHub Skills
Blog
Solutions
By company size
Enterprises
Small and medium teams
Startups
Nonprofits
By use case
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
Search or jump to...
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
Reseting 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
Notifications
You must be signed in to change notification settings
Fork
13.3k
Star
103k
Code
Issues
5k+
Pull requests
740
Actions
Projects
9
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Commits
Breadcrumbs
History for
rust
compiler
rustc_parse
src
validate_attr.rs
on
master
User selector
All users
Datepicker
All time
Commit History
Commits on Apr 18, 2025
Make `#[naked]` an unsafe attribute
folkertdev
committed
41ddf86
Copy full SHA for 41ddf86
Commits on Apr 14, 2025
Allow (but don't require) `#[unsafe(naked)]` so that `compiler-builtins` can upgrade to it
folkertdev
committed
cb22c1d
Copy full SHA for cb22c1d
Commits on Apr 12, 2025
error on unsafe attributes in pre-2024 editions
Show description for f472cc8
folkertdev
committed
f472cc8
Copy full SHA for f472cc8
Commits on Mar 26, 2025
expand: Leave traces when expanding `cfg` attributes
petrochenkov
committed
92d802e
Copy full SHA for 92d802e
Commits on Mar 17, 2025
expand: Leave traces when expanding `cfg_attr` attributes
petrochenkov
committed
9dd4e4c
Copy full SHA for 9dd4e4c
Commits on Dec 21, 2024
Properly record metavar spans for other expansions other than TT
compiler-errors
committed
28a997f
Copy full SHA for 28a997f
Commits on Dec 15, 2024
Add hir::Attribute
jdonszelmann
committed
d50c0a5
Copy full SHA for d50c0a5
Rename `value` field to `expr` to simplify later commits' diffs
oli-obk
authored and
jdonszelmann
committed
53b2c7c
Copy full SHA for 53b2c7c
Commits on Dec 2, 2024
Change `AttrArgs::Eq` into a struct variant
oli-obk
committed
778321d
Copy full SHA for 778321d
Commits on Oct 6, 2024
Rename NestedMetaItem to MetaItemInner
codemountains
committed
6dfc4a0
Copy full SHA for 6dfc4a0
Commits on Sep 22, 2024
Reformat using the new identifier sorting from rustfmt
compiler-errors
committed
c682aa1
Copy full SHA for c682aa1
Commits on Sep 11, 2024
Also fix if in else
compiler-errors
committed
af8d911
Copy full SHA for af8d911
Commits on Aug 7, 2024
Stabilize `unsafe_attributes`
carbotaniuman
committed
de9b5c3
Copy full SHA for de9b5c3
Commits on Jul 30, 2024
Add toggle for `parse_meta_item` unsafe parsing
Show description for 49db8a5
carbotaniuman
committed
49db8a5
Copy full SHA for 49db8a5
Deny unsafe on more builtin attributes
carbotaniuman
committed
d8bc876
Copy full SHA for d8bc876
Commits on Jul 28, 2024
Reformat `use` declarations.
Show description for 84ac80f
nnethercote
committed
84ac80f
Copy full SHA for 84ac80f
Commits on Jun 24, 2024
coverage: Tighten validation of `#[coverage(off)]` and `#[coverage(on)]`
Zalathar
committed
a000fa8
Copy full SHA for a000fa8
Add hard error and migration lint for unsafe attrs
carbotaniuman
committed
a23917c
Copy full SHA for a23917c
Commits on Jun 18, 2024
Prefer `dcx` methods over fields or fields' methods
oli-obk
committed
c91edc3
Copy full SHA for c91edc3
Commits on Jun 7, 2024
Rollup merge of #126052 - nnethercote:rustc_parse-more-cleanups, r=spastorino
Show description for 4aceaaa
matthiaskrgr
authored
4aceaaa
Copy full SHA for 4aceaaa
Parse unsafe attributes
carbotaniuman
committed
67f5dd1
Copy full SHA for 67f5dd1
Commits on Jun 5, 2024
Inline and remove `check_builtin_attribute`.
Show description for 4c731c2
nnethercote
committed
4c731c2
Copy full SHA for 4c731c2
Reduce `pub` exposure.
nnethercote
committed
95b4c07
Copy full SHA for 95b4c07
Commits on May 21, 2024
Rename buffer_lint_with_diagnostic to buffer_lint
Xiretza
committed
98dd6c7
Copy full SHA for 98dd6c7
Convert uses of BuiltinLintDiag::Normal to custom variants
Show description for b7abf01
Xiretza
committed
b7abf01
Copy full SHA for b7abf01
Commits on Mar 4, 2024
Rename all `ParseSess` variables/fields/lifetimes as `psess`.
Show description for 80d2bdb
nnethercote
committed
80d2bdb
Copy full SHA for 80d2bdb
Commits on Feb 25, 2024
Add `ErrorGuaranteed` to `ast::ExprKind::Err`
ShE3py
committed
c440a5b
Copy full SHA for c440a5b
Commits on Feb 23, 2024
compiler: clippy::complexity fixes
matthiaskrgr
committed
86a7fc8
Copy full SHA for 86a7fc8
Commits on Feb 15, 2024
Add `ErrorGuaranteed` to `ast::LitKind::Err`, `token::LitKind::Err`.
Show description for 25ed6e4
nnethercote
committed
25ed6e4
Copy full SHA for 25ed6e4
Commits on Jan 9, 2024
Rename consuming chaining methods on `DiagnosticBuilder`.
Show description for ed76b0b
nnethercote
committed
ed76b0b
Copy full SHA for ed76b0b
Commits on Jan 8, 2024
Make `DiagnosticBuilder::emit` consuming.
Show description for b1b9278
nnethercote
committed
b1b9278
Copy full SHA for b1b9278
Commits on Dec 23, 2023
Remove `ParseSess` methods that duplicate `DiagCtxt` methods.
Show description for d51db05
nnethercote
committed
d51db05
Copy full SHA for d51db05
Commits on Dec 18, 2023
Rename `ParseSess::span_diagnostic` as `ParseSess::dcx`.
nnethercote
committed
9df1576
Copy full SHA for 9df1576
Commits on Dec 15, 2023
NFC don't convert types to identical types
matthiaskrgr
committed
8479945
Copy full SHA for 8479945
Commits on Dec 12, 2023
Improve an error involving attribute values.
Show description for 226edf6
nnethercote
committed
226edf6
Copy full SHA for 226edf6
Pagination
Previous
Next
You can’t perform that action at this time.