summaryrefslogtreecommitdiff
path: root/compiler/rustc_middle/src/lib.rs
diff options
context:
space:
mode:
authorMaybe Waffle <waffle.lapkin@gmail.com>2023-04-14 12:29:10 +0000
committerMaybe Waffle <waffle.lapkin@gmail.com>2023-04-14 12:31:49 +0000
commit014c6f208e59534cf36b11fdf43f8c90a304073f (patch)
treea280aac6dfb6f8848ed078796114fe6d334567e3 /compiler/rustc_middle/src/lib.rs
parent36f5918bf169a7ab5ae24a5aad12dd6ecd20b8c4 (diff)
downloadrust-014c6f208e59534cf36b11fdf43f8c90a304073f.tar.gz
Use `ptr::Alignment` for extra coolness points
Diffstat (limited to 'compiler/rustc_middle/src/lib.rs')
-rw-r--r--compiler/rustc_middle/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_middle/src/lib.rs b/compiler/rustc_middle/src/lib.rs
index b4edb02f6c4..51ed66dbafc 100644
--- a/compiler/rustc_middle/src/lib.rs
+++ b/compiler/rustc_middle/src/lib.rs
@@ -59,6 +59,7 @@
#![feature(result_option_inspect)]
#![feature(const_option)]
#![feature(trait_alias)]
+#![feature(ptr_alignment_type)]
#![recursion_limit = "512"]
#![allow(rustc::potential_query_instability)]