- 
                Notifications
    
You must be signed in to change notification settings  - Fork 13.9k
 
Description
As part of #53196, compile-fail tests were migrated to ui tests. In doing this, a handful of tests compile successfully in the NLL compare mode, but not in the normal AST compare mode. These tests were marked as "ignore on NLL compare mode" as there isn't an easy way to assert that a test compiles successfully in one compare mode and not in another. These tests are listed below and should be checked to make sure that it is correct that these tests ran successfully in NLL compare mode or if they have a bug:
(exact locations of tests have changed)
borrowck/
-  ui/compile-fail-migration/borrow-tuple-fields.rs Make some ported cfail tests robust w.r.t. NLL #53369 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/borrowck/borrowck-borrow-mut-object-twice.rs Make some ported cfail tests robust w.r.t. NLL #53369 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/borrowck/borrowck-closures-two-mut.rs make more ported compile fail tests more robust w.r.t. NLL #53407 
// ignore-compare-mode-nll - but also note there is 
// ignore-compare-mode-nll  - and yet there is also this version which uses 
borrowck=compare, (a mode which I think we really should retire at this point...)// compile-flags: -Z borrowck=compare  
 - but also note there is 
 -  ui/compile-fail-migration/borrowck/borrowck-closures-unique-imm.rs Make some ported cfail tests robust w.r.t. NLL #53369 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/borrowck/borrowck-closures-unique.rs make more ported compile fail tests more robust w.r.t. NLL #53407 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/borrowck/borrowck-issue-2657-1.rs Make some ported cfail tests robust w.r.t. NLL #53369 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/borrowck/borrowck-lend-flow-if.rs 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/borrowck/borrowck-lend-flow.rs 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/borrowck/borrowck-loan-blocks-move-cc.rs Make some ported cfail tests robust w.r.t. NLL #53369 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/borrowck/borrowck-loan-blocks-move.rs Make some ported cfail tests robust w.r.t. NLL #53369 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/borrowck/borrowck-move-from-subpath-of-borrowed-path.rs Make some ported cfail tests robust w.r.t. NLL #53369 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/borrowck/borrowck-move-mut-base-ptr.rs Make some ported cfail tests robust w.r.t. NLL #53369 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/borrowck/borrowck-mut-borrow-of-mut-base-ptr.rs Make some ported cfail tests robust w.r.t. NLL #53369 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/borrowck/borrowck-object-lifetime.rs Make some ported cfail tests robust w.r.t. NLL #53369 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/borrowck/borrowck-overloaded-index-autoderef.rs Make some ported cfail tests robust w.r.t. NLL #53369 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/borrowck/borrowck-swap-mut-base-ptr.rs Make some ported cfail tests robust w.r.t. NLL #53369 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/borrowck/borrowck-union-borrow-nested.rs Make some ported cfail tests robust w.r.t. NLL #53369 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/borrowck/borrowck-uniq-via-lend.rs Make some ported cfail tests robust w.r.t. NLL #53369 
// ignore-compare-mode-nll  
regions/
-  ui/compile-fail-migration/regions-assoc-type-in-supertrait-outlives-container.rs 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/regions-bounded-by-trait-requiring-static.rs 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/regions-bounded-method-type-parameters.rs 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/regions-free-region-ordering-caller.rs 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/regions-implied-bounds-projection-gap-1.rs 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/regions-infer-contravariance-due-to-decl.rs 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/regions-infer-covariance-due-to-decl.rs 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/regions-outlives-projection-container-wc.rs 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/regions-outlives-projection-container.rs 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/regions-variance-contravariant-use-covariant-in-second-position.rs 
rust/src/test/ui/regions/regions-variance-contravariant-use-covariant-in-second-position.rs
Line 11 in a573305
// ignore-compare-mode-nll  -  ui/compile-fail-migration/regions-variance-contravariant-use-covariant.rs 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/regions-variance-covariant-use-contravariant.rs 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/regions-variance-invariant-use-contravariant.rs 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/regions-variance-invariant-use-covariant.rs 
// ignore-compare-mode-nll  
variance/
-  ui/compile-fail-migration/variance-cell-is-invariant.rs 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/variance-contravariant-arg-trait-match.rs 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/variance-contravariant-self-trait-match.rs 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/variance-covariant-arg-trait-match.rs 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/variance-covariant-self-trait-match.rs 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/variance-invariant-arg-trait-match.rs 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/variance-invariant-self-trait-match.rs 
// ignore-compare-mode-nll  
other
-  ui/compile-fail-migration/associated-types-subtyping-1.rs 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/cleanup-rvalue-scopes-cf.rs 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/closure_promotion.rs 
rust/src/test/ui/closure_promotion.rs
Line 11 in a573305
// ignore-compare-mode-nll  -  ui/compile-fail-migration/hashmap-lifetimes.rs make more ported compile fail tests more robust w.r.t. NLL #53407 
rust/src/test/ui/hashmap-lifetimes.rs
Line 11 in a573305
// ignore-compare-mode-nll  -  ui/compile-fail-migration/issue-28848.rs 
rust/src/test/ui/issues/issue-28848.rs
Line 11 in a573305
// ignore-compare-mode-nll  -  ui/compile-fail-migration/issue-5500-1.rs#ast 
rust/src/test/ui/issues/issue-5500-1.rs
Line 11 in a573305
// ignore-compare-mode-nll  -  ui/compile-fail-migration/method-self-arg-2.rs Make some ported cfail tests robust w.r.t. NLL #53369 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/mut-cant-alias.rs Make some ported cfail tests robust w.r.t. NLL #53369 
rust/src/test/ui/mut/mut-cant-alias.rs
Line 11 in a573305
// ignore-compare-mode-nll  -  ui/compile-fail-migration/unboxed-closure-region.rs make more ported compile fail tests more robust w.r.t. NLL #53407 
// ignore-compare-mode-nll  -  ui/compile-fail-migration/unboxed-closures-borrow-conflict.rs make more ported compile fail tests more robust w.r.t. NLL #53407  
// ignore-compare-mode-nll