Skip to content

Commit

Permalink
uwu
Browse files Browse the repository at this point in the history
  • Loading branch information
compiler-errors committed Dec 18, 2023
1 parent 82ae54c commit 335a142
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion compiler/rustc_hir/src/hir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3655,7 +3655,7 @@ mod size_asserts {
static_assert_size!(ForeignItem<'_>, 72);
static_assert_size!(ForeignItemKind<'_>, 40);
static_assert_size!(GenericArg<'_>, 32);
static_assert_size!(GenericBound<'_>, 48);
static_assert_size!(GenericBound<'_>, 64);
static_assert_size!(Generics<'_>, 56);
static_assert_size!(Impl<'_>, 80);
static_assert_size!(ImplItem<'_>, 88);
Expand Down
3 changes: 2 additions & 1 deletion compiler/rustc_middle/src/query/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,8 @@ rustc_queries! {
desc { |tcx| "promoting constants in MIR for `{}`", tcx.def_path_str(key) }
}

query closure_typeinfo(key: LocalDefId) -> ty::ClosureTypeInfo<'tcx> {
query closure_typeinfo(key: LocalDefId) -> &'tcx ty::ClosureTypeInfo<'tcx> {
arena_cache
desc {
|tcx| "finding symbols for captures of closure `{}`",
tcx.def_path_str(key)
Expand Down
2 changes: 1 addition & 1 deletion compiler/rustc_middle/src/traits/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ impl<'tcx> ObligationCauseCode<'tcx> {

// `ObligationCauseCode` is used a lot. Make sure it doesn't unintentionally get bigger.
#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
static_assert_size!(ObligationCauseCode<'_>, 48);
static_assert_size!(ObligationCauseCode<'_>, 56);

#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)]
pub enum StatementAsExpression {
Expand Down

0 comments on commit 335a142

Please sign in to comment.