We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf26fdd commit 9b1b96bCopy full SHA for 9b1b96b
src/tools/miri/src/lib.rs
@@ -16,6 +16,9 @@
16
#![feature(unqualified_local_imports)]
17
#![feature(derive_coerce_pointee)]
18
#![feature(arbitrary_self_types)]
19
+#![cfg_attr(bootstrap,feature(legacy_receiver_trait))]
20
+#![feature(unsigned_is_multiple_of)]
21
+#![feature(extract_if)]
22
// Configure clippy and other lints
23
#![allow(
24
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