We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3417c5 commit 79f2cc0Copy full SHA for 79f2cc0
src/librustc/ty/context.rs
@@ -830,8 +830,10 @@ impl<'tcx> CommonTypes<'tcx> {
830
fn new(interners: &CtxtInterners<'tcx>) -> CommonTypes<'tcx> {
831
// Ensure our type representation does not grow
832
#[cfg(all(not(stage0), target_pointer_width = "64"))]
833
+ #[allow(dead_code)]
834
static ASSERT_TY_KIND: () = [()][!(::std::mem::size_of::<ty::TyKind>() <= 24) as usize];
835
836
837
static ASSERT_TYS: () = [()][!(::std::mem::size_of::<ty::TyS>() <= 32) as usize];
838
839
let mk = |sty| CtxtInterners::intern_ty(interners, interners, sty);
0 commit comments