index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
compiler
/
rustc_parse
/
src
/
parser
/
attr.rs
Age
Commit message (
Expand
)
Author
Lines
2025-08-22
Move validate_attr to `rustc_attr_parsing`
Jonathan Brouwer
-1
/
+1
2025-08-14
Add FnContext in parser for diagnostic
xizheyin
-1
/
+2
2025-04-29
Move various token stream things from `rustc_parse` to `rustc_ast`.
Nicholas Nethercote
-2
/
+2
2025-03-13
Provide helpful diagnostics for shebang lookalikes
Pyrode
-1
/
+18
2025-03-03
Rename `ast::TokenKind::Not` as `ast::TokenKind::Bang`.
Nicholas Nethercote
-2
/
+2
2025-02-28
Remove `NtMeta`.
Nicholas Nethercote
-16
/
+22
2024-12-19
Speed up `Parser::expected_token_types`.
Nicholas Nethercote
-21
/
+20
2024-12-18
Re-export more `rustc_span::symbol` things from `rustc_span`.
Nicholas Nethercote
-2
/
+1
2024-12-15
Add hir::Attribute
Jonathan Dönszelmann
-3
/
+2
2024-10-06
Rename NestedMetaItem to MetaItemInner
codemountains
-5
/
+5
2024-10-01
Use `ast::NestedMetaItem` when evaluating cfg predicate
Urgau
-3
/
+5
2024-08-24
Rollup merge of #128524 - chenyukang:yukang-fix-127930-invalid-outer-style-su...
Trevor Gross
-12
/
+26
2024-08-17
Auto merge of #128771 - carbotaniuman:stabilize_unsafe_attr, r=nnethercote
bors
-3
/
+1
2024-08-16
Overhaul token collection.
Nicholas Nethercote
-7
/
+11
2024-08-16
Convert a bool to `Trailing`.
Nicholas Nethercote
-2
/
+4
2024-08-14
Use `impl PartialEq<TokenKind> for Token` more.
Nicholas Nethercote
-3
/
+3
2024-08-07
Stabilize `unsafe_attributes`
carbotaniuman
-3
/
+1
2024-08-04
don't suggest turning crate-level attributes into outer style
yukang
-12
/
+26
2024-08-03
Rollup merge of #128483 - nnethercote:still-more-cfg-cleanups, r=petrochenkov
Matthias Krüger
-3
/
+3
2024-08-01
Distinguish the two kinds of token range.
Nicholas Nethercote
-3
/
+3
2024-07-30
Add toggle for `parse_meta_item` unsafe parsing
carbotaniuman
-4
/
+17
2024-07-29
Reformat `use` declarations.
Nicholas Nethercote
-7
/
+7
2024-07-26
Move `is_complete` to the module that uses it.
Nicholas Nethercote
-11
/
+0
2024-07-19
Auto merge of #127957 - matthiaskrgr:rollup-1u5ivck, r=matthiaskrgr
bors
-8
/
+7
2024-07-19
Overhaul comments in `collect_tokens_trailing_token`.
Nicholas Nethercote
-8
/
+5
2024-07-19
Simplify `CaptureState::inner_attr_ranges`.
Nicholas Nethercote
-3
/
+3
2024-07-19
Only check `force_collect` in `collect_tokens_trailing_token`.
Nicholas Nethercote
-8
/
+4
2024-07-19
Use `ForceCollect` in `parse_attr_item`.
Nicholas Nethercote
-4
/
+7
2024-07-07
Simplify `ReplaceRange`.
Nicholas Nethercote
-1
/
+1
2024-07-05
Remove some unnecessary integer conversions.
Nicholas Nethercote
-2
/
+2
2024-06-06
Fix build
carbotaniuman
-4
/
+4
2024-06-06
Parse unsafe attributes
carbotaniuman
-3
/
+32
2024-06-05
Inline and remove `parse_crate{,_attrs}_from_{file,source_str}`.
Nicholas Nethercote
-1
/
+1
2024-05-13
Remove a `Span` from `TokenKind::Interpolated`.
Nicholas Nethercote
-1
/
+1
2024-05-10
Fix parse error message for meta items
León Orell Valerian Liehr
-26
/
+30
2024-03-21
Rewrite `parse_meta_item`.
Nicholas Nethercote
-11
/
+7
2024-03-21
Use `maybe_whole!` to streamline `parse_attr_item`.
Nicholas Nethercote
-19
/
+10
2024-03-15
Make `unexpected` always "return" `PResult<()>` & add `unexpected_any`
Maybe Waffle
-3
/
+3
2024-03-05
Rename all `ParseSess` variables/fields/lifetimes as `psess`.
Nicholas Nethercote
-3
/
+3
2024-02-28
Rename `DiagnosticBuilder` as `Diag`.
Nicholas Nethercote
-2
/
+2
2024-02-19
Prefer `DiagnosticBuilder` over `Diagnostic` in diagnostic modifiers.
Nicholas Nethercote
-2
/
+2
2024-01-29
Stop using `String` for error codes.
Nicholas Nethercote
-2
/
+2
2024-01-12
Suggest quoting unquoted idents in attrs
sjwang05
-4
/
+24
2024-01-10
Rename consuming chaining methods on `DiagnosticBuilder`.
Nicholas Nethercote
-4
/
+7
2024-01-08
Remove all eight `DiagnosticBuilder::*_with_code` methods.
Nicholas Nethercote
-5
/
+4
2024-01-08
Use chaining in `DiagnosticBuilder` construction.
Nicholas Nethercote
-14
/
+13
2024-01-03
Rename some `Diagnostic` setters.
Nicholas Nethercote
-1
/
+1
2023-12-24
Remove `ParseSess` methods that duplicate `DiagCtxt` methods.
Nicholas Nethercote
-1
/
+1
2023-12-24
Remove `Parser` methods that duplicate `DiagCtxt` methods.
Nicholas Nethercote
-3
/
+3
2023-12-18
Use `.into_diagnostic()` less.
Nicholas Nethercote
-3
/
+4
[next]