-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Group together more size assertions. #102493
Group together more size assertions. #102493
Conversation
@bors rollup=always |
@bors r+ rollup |
📌 Commit dabb5f07700bd6203d97867ec3ab1f9572fc3ba6 has been approved by It is now in the queue for this repository. |
compiler/rustc_ast/src/token.rs
Outdated
static_assert_size!(LitKind, 2); | ||
static_assert_size!(Token, 24); | ||
static_assert_size!(TokenKind, 16); | ||
static_assert_size!(Nonterminal, 16); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The last one is not in alphabetical order :)
@bors r- I'll fix the ordering on Monday. |
Also add a few more assertions for some relevant token-related types. And fix an erroneous comment in `rustc_errors`.
dabb5f0
to
5ab68a8
Compare
I fixed the ordering. @bors r=lqd rollup=always |
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#102361 (Fix ICE in const_trait check code) - rust-lang#102373 (Flush delayed bugs before codegen) - rust-lang#102483 (create def ids for impl traits during ast lowering) - rust-lang#102490 (Generate synthetic region from `impl` even in closure body within an associated fn) - rust-lang#102492 (Don't lower assoc bindings just to deny them) - rust-lang#102493 (Group together more size assertions.) - rust-lang#102521 (rustdoc: add missing margin to no-docblock methods) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Also add a few more assertions for some relevant token-related types.
And fix an erroneous comment in
rustc_errors
.r? @lqd