about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/lib.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-09-16 19:58:37 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-09-17 10:25:06 +1000
commitacb832d6403879984bbd3d71ad67c15fb4166e67 (patch)
treebbc4b63cdc1d5c2d1284f6021adf66d36cadbe7f /compiler/rustc_middle/src/lib.rs
parenta8d22eb39eafcc19d4c3db4f24582d869c8fdef2 (diff)
downloadrust-acb832d6403879984bbd3d71ad67c15fb4166e67.tar.gz
rust-acb832d6403879984bbd3d71ad67c15fb4166e67.zip
Use associative type defaults in `{Layout,FnAbi}OfHelpers`.
This avoids some repetitive boilerplate code.
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 fd6e2ad79b1..23cd247e884 100644
--- a/compiler/rustc_middle/src/lib.rs
+++ b/compiler/rustc_middle/src/lib.rs
@@ -33,6 +33,7 @@
 #![feature(allocator_api)]
 #![feature(array_windows)]
 #![feature(assert_matches)]
+#![feature(associated_type_defaults)]
 #![feature(box_as_ptr)]
 #![feature(box_patterns)]
 #![feature(closure_track_caller)]