Skip to content

Rollup of 8 pull requests #137710

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 23 commits into from
Feb 28, 2025
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
c293af9
add `IntoBounds::intersect` and `RangeBounds::is_empty`
pitaj Feb 20, 2025
db1f0d0
Return error on unexpected termination in `Thread::join`.
fuzzypixelz Feb 23, 2025
5d6a6e7
compiletest: disambiguate between root build dir vs test suite specif…
jieyouxu Feb 4, 2025
5238337
bootstrap: remove `--build-base` and use `--build-root` and `--build-…
jieyouxu Feb 4, 2025
7d2e4e4
bootstrap: remove redundant `to_path_buf()`
jieyouxu Feb 4, 2025
1ccdc06
Remove speculation on cause of error
fuzzypixelz Feb 24, 2025
7058f62
Use `.expect(..)` instead
fuzzypixelz Feb 25, 2025
3477297
Fix UB in ThinVec::flat_map_in_place
bjorn3 Jan 24, 2025
864cca8
Print out destructor
compiler-errors Feb 23, 2025
df845c9
Spruce up `AttributeKind` docs
aDotInTheVoid Feb 26, 2025
a8364f3
In `AssocOp::AssignOp`, use `BinOpKind` instead of `BinOpToken`
nnethercote Dec 19, 2024
ceafbad
Introduce `AssocOp::Binary`.
nnethercote Dec 19, 2024
fc8e87b
Replace `AssocOp::DotDot{,Eq}` with `AssocOp::Range`.
nnethercote Dec 19, 2024
2ac46f6
Rename `AssocOp::As` as `AssocOp::Cast`.
nnethercote Dec 19, 2024
ef66cbb
require trait impls to have matching const stabilities as the traits
fee1-dead Feb 7, 2025
f435138
Rollup merge of #136542 - jieyouxu:build-base, r=onur-ozkan
matthiaskrgr Feb 27, 2025
18c47ad
Rollup merge of #136579 - bjorn3:fix_thinvec_ext_ub, r=BoxyUwU
matthiaskrgr Feb 27, 2025
88dcab7
Rollup merge of #136688 - fee1-dead-contrib:push-nppsusmpokqo, r=comp…
matthiaskrgr Feb 27, 2025
4ecca4c
Rollup merge of #136846 - nnethercote:make-AssocOp-more-like-ExprKind…
matthiaskrgr Feb 27, 2025
3499846
Rollup merge of #137304 - pitaj:rangebounds-is_empty-intersect, r=ibr…
matthiaskrgr Feb 27, 2025
25db95e
Rollup merge of #137455 - compiler-errors:drop-lint-dtor, r=oli-obk
matthiaskrgr Feb 27, 2025
f19d4b5
Rollup merge of #137480 - fuzzypixelz:fix/124466, r=workingjubilee
matthiaskrgr Feb 27, 2025
89a202d
Rollup merge of #137694 - aDotInTheVoid:aDotInTheVoid-patch-1, r=jdon…
matthiaskrgr Feb 27, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Spruce up AttributeKind docs
- Remove dead link to `rustc_attr` crate.
- Add link to `rustc_attr_parsing` crate.
- Split up first paragraph so it looks better at crate-level summary
  • Loading branch information
aDotInTheVoid committed Feb 26, 2025
commit df845c97f3b9b6a0ae278c0a7097af6923fc7bc5
13 changes: 8 additions & 5 deletions compiler/rustc_attr_data_structures/src/attributes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,14 @@ impl Deprecation {
}
}

/// Attributes represent parsed, *built in*, inert attributes. That means,
/// attributes that are not actually ever expanded.
/// For more information on this, see the module docs on the rustc_attr_parsing crate.
/// Represent parsed, *built in*, inert attributes.
///
/// That means attributes that are not actually ever expanded.
/// For more information on this, see the module docs on the [`rustc_attr_parsing`] crate.
/// They're instead used as markers, to guide the compilation process in various way in most every stage of the compiler.
/// These are kept around after the AST, into the HIR and further on.
///
/// The word parsed could be a little misleading here, because the parser already parses
/// The word "parsed" could be a little misleading here, because the parser already parses
/// attributes early on. However, the result, an [`ast::Attribute`]
/// is only parsed at a high level, still containing a token stream in many cases. That is
/// because the structure of the contents varies from attribute to attribute.
Expand All @@ -153,7 +154,9 @@ impl Deprecation {
/// the place where `must_use` is checked) little to no extra parsing or validating needs to
/// happen.
///
/// For more docs, look in [`rustc_attr`](https://doc.rust-lang.org/stable/nightly-rustc/rustc_attr/index.html)
/// For more docs, look in [`rustc_attr_parsing`].
///
/// [`rustc_attr_parsing`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_attr_parsing/index.html
#[derive(Clone, Debug, HashStable_Generic, Encodable, Decodable, PrintAttribute)]
pub enum AttributeKind {
// tidy-alphabetical-start
Expand Down
Loading