about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/lib.rs
diff options
context:
space:
mode:
authorSimonas Kazlauskas <git@kazlauskas.me>2024-01-10 17:13:03 +0200
committerSimonas Kazlauskas <git@kazlauskas.me>2024-01-10 18:00:38 +0200
commit1dc3ab02cdba905aa1cce73d938c8e825107a8e8 (patch)
treede36314349062aa7b1f734bedd3b498f66aa0964 /compiler/rustc_interface/src/lib.rs
parentfcaeb4542173b364835aef7dd2526303191b2d2c (diff)
downloadrust-1dc3ab02cdba905aa1cce73d938c8e825107a8e8.tar.gz
rust-1dc3ab02cdba905aa1cce73d938c8e825107a8e8.zip
Format sources into the error message when loading codegen backends
cc https://github.com/rust-lang/rustc_codegen_cranelift/issues/1447
Diffstat (limited to 'compiler/rustc_interface/src/lib.rs')
-rw-r--r--compiler/rustc_interface/src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/lib.rs b/compiler/rustc_interface/src/lib.rs
index cfa46447845..764306ce6ec 100644
--- a/compiler/rustc_interface/src/lib.rs
+++ b/compiler/rustc_interface/src/lib.rs
@@ -1,9 +1,10 @@
 #![feature(box_patterns)]
 #![feature(decl_macro)]
+#![feature(error_iter)]
 #![feature(internal_output_capture)]
-#![feature(thread_spawn_unchecked)]
 #![feature(lazy_cell)]
 #![feature(let_chains)]
+#![feature(thread_spawn_unchecked)]
 #![feature(try_blocks)]
 #![recursion_limit = "256"]
 #![deny(rustc::untranslatable_diagnostic)]