freebsd-ports/lang/rust-nightly
Jan Beich 630a973442 lang/rust-nightly: mark BROKEN after r503207
error[E0412]: cannot find type `Mir` in module `mir`
  --> src/tools/miri/src/fn_call.rs:20:45
   |
20 |     ) -> EvalResult<'tcx, Option<&'mir mir::Mir<'tcx>>> {
   |                                             ^^^ not found in `mir`
help: there is an enum variant `rustc::session::config::BorrowckMode::Mir` and 3 others; try using the variant's enum
   |
20 |     ) -> EvalResult<'tcx, Option<&'mir rustc::session::config::BorrowckMode>> {
   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20 |     ) -> EvalResult<'tcx, Option<&'mir rustc::session::config::OutputType>> {
   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20 |     ) -> EvalResult<'tcx, Option<&'mir rustc_mir::util::borrowck_errors::Origin>> {
   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error[E0412]: cannot find type `Mir` in module `mir`
   --> src/tools/miri/src/lib.rs:410:45
    |
410 |     ) -> EvalResult<'tcx, Option<&'mir mir::Mir<'tcx>>> {
    |                                             ^^^ not found in `mir`
help: there is an enum variant `rustc::session::config::BorrowckMode::Mir` and 3 others; try using the variant's enum
    |
410 |     ) -> EvalResult<'tcx, Option<&'mir rustc::session::config::BorrowckMode>> {
    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
410 |     ) -> EvalResult<'tcx, Option<&'mir rustc::session::config::OutputType>> {
    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
410 |     ) -> EvalResult<'tcx, Option<&'mir rustc_mir::util::borrowck_errors::Origin>> {
    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: no variant `Bits` in enum `rustc_mir::interpret::Scalar<_, _>`
   --> src/tools/miri/src/fn_call.rs:610:29
    |
610 |                     Scalar::Bits { bits: 0, size } => {
    |                     --------^^^^
    |                     |
    |                     variant not found in `rustc_mir::interpret::Scalar<_, _>`

error: no variant `Bits` in enum `rustc_mir::interpret::Scalar<_, _>`
   --> src/tools/miri/src/fn_call.rs:614:29
    |
614 |                     Scalar::Bits { .. } => return err!(ReadBytesAsPointer),
    |                     --------^^^^
    |                     |
    |                     variant not found in `rustc_mir::interpret::Scalar<_, _>`

error: no variant `Bits` in enum `rustc_mir::interpret::Scalar<_, _>`
   --> src/tools/miri/src/operator.rs:144:22
    |
144 |             (Scalar::Bits { .. }, Scalar::Bits { .. }) =>
    |              --------^^^^
    |              |
    |              variant not found in `rustc_mir::interpret::Scalar<_, _>`

error: no variant `Bits` in enum `rustc_mir::interpret::Scalar<_, _>`
   --> src/tools/miri/src/operator.rs:144:43
    |
144 |             (Scalar::Bits { .. }, Scalar::Bits { .. }) =>
    |                                   --------^^^^
    |                                   |
    |                                   variant not found in `rustc_mir::interpret::Scalar<_, _>`

error: no variant `Bits` in enum `rustc_mir::interpret::Scalar<_, _>`
   --> src/tools/miri/src/operator.rs:168:40
    |
168 |             (Scalar::Ptr(ptr), Scalar::Bits { bits, size }) |
    |                                --------^^^^
    |                                |
    |                                variant not found in `rustc_mir::interpret::Scalar<_, _>`

error: no variant `Bits` in enum `rustc_mir::interpret::Scalar<_, _>`
   --> src/tools/miri/src/operator.rs:169:22
    |
169 |             (Scalar::Bits { bits, size }, Scalar::Ptr(ptr)) => {
    |              --------^^^^
    |              |
    |              variant not found in `rustc_mir::interpret::Scalar<_, _>`

error[E0061]: this function takes 3 parameters but 2 parameters were supplied
   --> src/tools/miri/src/operator.rs:161:35
    |
161 |                     self.memory().check_bounds_ptr(left, InboundsCheck::Live)?;
    |                                   ^^^^^^^^^^^^^^^^ expected 3 parameters

error[E0061]: this function takes 3 parameters but 2 parameters were supplied
   --> src/tools/miri/src/operator.rs:162:35
    |
162 |                     self.memory().check_bounds_ptr(right, InboundsCheck::Live)?;
    |                                   ^^^^^^^^^^^^^^^^ expected 3 parameters

error[E0061]: this function takes 3 parameters but 2 parameters were supplied
   --> src/tools/miri/src/operator.rs:186:38
    |
186 |                     if self.memory().check_bounds_ptr(ptr, InboundsCheck::MaybeDead).is_ok() {
    |                                      ^^^^^^^^^^^^^^^^ expected 3 parameters

error: no variant `Bits` in enum `rustc_mir::interpret::Scalar<_, _>`
   --> src/tools/miri/src/operator.rs:281:30
    |
281 |                     (Scalar::Bits { bits: (left.offset.bytes() as u128) & right, size: ptr_size }, false)
    |                      --------^^^^
    |                      |
    |                      variant not found in `rustc_mir::interpret::Scalar<_, _>`

error: no variant `Bits` in enum `rustc_mir::interpret::Scalar<_, _>`
   --> src/tools/miri/src/operator.rs:295:30
    |
295 |                     (Scalar::Bits { bits: 0, size: ptr_size }, false)
    |                      --------^^^^
    |                      |
    |                      variant not found in `rustc_mir::interpret::Scalar<_, _>`

error: no variant `Bits` in enum `rustc_mir::interpret::Scalar<_, _>`
   --> src/tools/miri/src/operator.rs:300:33
    |
300 |                         Scalar::Bits {
    |                         --------^^^^
    |                         |
    |                         variant not found in `rustc_mir::interpret::Scalar<_, _>`

error[E0061]: this function takes 3 parameters but 2 parameters were supplied
   --> src/tools/miri/src/operator.rs:343:27
    |
343 |             self.memory().check_bounds_ptr(ptr, InboundsCheck::Live)?;
    |                           ^^^^^^^^^^^^^^^^ expected 3 parameters

error[E0061]: this function takes 3 parameters but 2 parameters were supplied
   --> src/tools/miri/src/operator.rs:345:27
    |
345 |             self.memory().check_bounds_ptr(ptr, InboundsCheck::Live)?;
    |                           ^^^^^^^^^^^^^^^^ expected 3 parameters

error[E0061]: this function takes 4 parameters but 3 parameters were supplied
   --> src/tools/miri/src/stacked_borrows.rs:553:15
    |
553 |         alloc.check_bounds(this, ptr, size)?;
    |               ^^^^^^^^^^^^ expected 4 parameters

error: aborting due to 17 previous errors

Reported by:	pkg-fallout
2019-06-01 17:34:26 +00:00
..
files lang/rust*: Add link to upstream issue for the LLVM STAGEDIR bug 2019-05-29 08:12:21 +00:00
distinfo lang/rust-nightly: update to 1.36.0.20190601 2019-06-01 00:46:40 +00:00
Makefile lang/rust-nightly: mark BROKEN after r503207 2019-06-01 17:34:26 +00:00