]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_query_impl/src/lib.rs
Rollup merge of #102178 - RalfJung:bootstrap-backtrace, r=Mark-Simulacrum
[rust.git] / compiler / rustc_query_impl / src / lib.rs
index c87d26b3950a10e23f4c5b79ae8acd75a46e2b54..8e018d3e4a4bcdd1ae9bce4b9746220679718983 100644 (file)
@@ -1,6 +1,8 @@
 //! Support for serializing the dep-graph and reloading it.
 
 #![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")]
+// this shouldn't be necessary, but the check for `&mut _` is too naive and denies returning a function pointer that takes a mut ref
+#![feature(const_mut_refs)]
 #![feature(min_specialization)]
 #![feature(never_type)]
 #![feature(once_cell)]