We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf26fdd commit 632fd28Copy full SHA for 632fd28
src/tools/miri/src/lib.rs
@@ -16,6 +16,7 @@
16
#![feature(unqualified_local_imports)]
17
#![feature(derive_coerce_pointee)]
18
#![feature(arbitrary_self_types)]
19
+#![cfg_attr(bootstrap,feature(legacy_receiver_trait))]
20
// Configure clippy and other lints
21
#![allow(
22
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