We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e58531 commit 317df48Copy full SHA for 317df48
src/tools/miri/src/lib.rs
@@ -14,7 +14,7 @@
14
#![feature(pointer_is_aligned_to)]
15
#![feature(unqualified_local_imports)]
16
#![feature(derive_coerce_pointee)]
17
-#![feature(arbitrary_self_types)]
+#![cfg_attr(bootstrap,feature(legacy_receiver_trait))]
18
// Configure clippy and other lints
19
#![allow(
20
clippy::collapsible_else_if,
src/tools/miri/src/shims/files.rs
@@ -43,6 +43,10 @@ impl<T: ?Sized> Deref for FileDescriptionRef<T> {
43
}
44
45
46
+#[cfg(bootstrap)]
47
+impl<T: ?Sized> core::ops::LegacyReceiver for FileDescriptionRef<T> {
48
+}
49
+
50
impl<T: ?Sized> FileDescriptionRef<T> {
51
pub fn id(&self) -> FdId {
52
self.0.id
0 commit comments