Skip to content

1.54.0 compilation fault with nightly, miri and parallel-compiler #87623

Closed
rust-lang/miri
#1863
@Miezhiko

Description

@Miezhiko
error[E0308]: mismatched types
  --> src/tools/miri/src/bin/miri.rs:44:30
   |
44 |                 Rc::make_mut(&mut crate_source).rlib = Some((PathBuf::new(), PathKind::All));
   |                              ^^^^^^^^^^^^^^^^^ expected struct `Rc`, found struct `Arc`
   |
   = note: expected mutable reference `&mut Rc<_>`
              found mutable reference `&mut Arc<CrateSource>`

error[E0609]: no field `rlib` on type `&mut _`
  --> src/tools/miri/src/bin/miri.rs:44:49
   |
44 |                 Rc::make_mut(&mut crate_source).rlib = Some((PathBuf::new(), PathKind::All));
   |                                                 ^^^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions