rust/src/test/compile-fail/borrowck
Corey Farwell abd1cea145 Stop ignoring expected note/help messages in compiletest suite.
Original issue: https://github.com/rust-lang/rust/issues/21195

Relevant PR: https://github.com/rust-lang/rust/pull/30778

Prior to this commit, if a compiletest testcase included the text
"HELP:" or "NOTE:" (note the colons), then it would indicate to the
compiletest suite that we should verify "help" and "note" expected
messages.

This commit updates this check to also check "HELP" and "NOTE" (not the
absense of colons) so that we always verify "help" and "note" expected
messages.
2016-03-16 21:53:58 -04:00
..
borrowck-and-init.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-anon-fields-struct.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-anon-fields-tuple.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-anon-fields-variant.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-argument.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-assign-comp-idx.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-assign-comp.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-assign-to-andmut-in-aliasable-loc.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-assign-to-andmut-in-borrowed-loc.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-assign-to-constants.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-auto-mut-ref-to-immut-var.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-autoref-3261.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-bad-nested-calls-free.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-bad-nested-calls-move.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-block-unint.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-borrow-from-owned-ptr.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-borrow-from-stack-variable.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-borrow-from-temporary.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-borrow-immut-deref-of-box-as-mut.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-borrow-mut-base-ptr-in-aliasable-loc.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-borrow-mut-object-twice.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-borrow-overloaded-auto-deref-mut.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-borrow-overloaded-auto-deref.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-borrow-overloaded-deref-mut.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-borrow-overloaded-deref.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-borrowed-uniq-rvalue-2.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-borrowed-uniq-rvalue.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-box-insensitivity.rs Stop ignoring expected note/help messages in compiletest suite. 2016-03-16 21:53:58 -04:00
borrowck-break-uninit-2.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-break-uninit.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-call-is-borrow-issue-12224.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-call-method-from-mut-aliasable.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-closures-mut-and-imm.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-closures-mut-of-imm.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-closures-two-mut.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-closures-unique-imm.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-closures-unique.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-closures-use-after-free.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-consume-unsize-vec.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-consume-upcast-box.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-escaping-closure-error-1.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-escaping-closure-error-2.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-field-sensitivity.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-fn-in-const-a.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-fn-in-const-b.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-fn-in-const-c.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-for-loop-correct-cmt-for-pattern.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-for-loop-head-linkage.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-if-no-else.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-if-with-else.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-imm-ref-to-mut-rec-field-issue-3162-c.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-in-static.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-init-in-called-fn-expr.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-init-in-fn-expr.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-init-in-fru.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-init-op-equal.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-init-plus-equal.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-insert-during-each.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-issue-2657-1.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-issue-2657-2.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-issue-14498.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-lend-flow-if.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-lend-flow-loop.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-lend-flow-match.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-lend-flow.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-let-suggestion-suffixes.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-let-suggestion.rs Stop ignoring expected note/help messages in compiletest suite. 2016-03-16 21:53:58 -04:00
borrowck-loan-blocks-move-cc.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-loan-blocks-move.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-loan-blocks-mut-uniq.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-loan-in-overloaded-op.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-loan-of-static-data-issue-27616.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-loan-rcvr-overloaded-op.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-loan-rcvr.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-loan-vec-content.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-match-binding-is-assignment.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-move-by-capture.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-move-error-with-note.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-move-from-subpath-of-borrowed-path.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-move-from-unsafe-ptr.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-move-in-irrefut-pat.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-move-moved-value-into-closure.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-move-mut-base-ptr.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-move-out-of-overloaded-auto-deref.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-move-out-of-overloaded-deref.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-move-out-of-static-item.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-move-out-of-struct-with-dtor.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-move-out-of-tuple-struct-with-dtor.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-move-out-of-vec-tail.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-move-subcomponent.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-multiple-captures.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-mut-addr-of-imm-var.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-mut-borrow-linear-errors.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-mut-borrow-of-mut-base-ptr.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-mut-slice-of-imm-vec.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-mutate-in-guard.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-no-cycle-in-exchange-heap.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-object-lifetime.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-object-mutability.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-or-init.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-overloaded-call.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-overloaded-index-and-overloaded-deref.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-overloaded-index-autoderef.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-overloaded-index-move-from-vec.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-overloaded-index-move-index.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-overloaded-index-ref-index.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-partial-reinit-1.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-partial-reinit-2.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-partial-reinit-3.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-partial-reinit-4.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-pat-reassign-binding.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-reborrow-from-mut.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-reborrow-from-shorter-lived-andmut.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-ref-into-rvalue.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-ref-mut-of-imm.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-report-with-custom-diagnostic.rs Stop ignoring expected note/help messages in compiletest suite. 2016-03-16 21:53:58 -04:00
borrowck-return-variable-on-stack-via-clone.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-return.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-struct-update-with-dtor.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-swap-mut-base-ptr.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-unary-move.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-unboxed-closures.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-uninit-after-item.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-uninit-in-assignop.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-uninit.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-uniq-via-lend.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-use-in-index-lvalue.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-use-mut-borrow.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-use-uninitialized-in-cast-trait.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-use-uninitialized-in-cast.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-vec-pattern-element-loan.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-vec-pattern-loan-from-mut.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-vec-pattern-move-tail.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-vec-pattern-nesting.rs Stop ignoring expected note/help messages in compiletest suite. 2016-03-16 21:53:58 -04:00
borrowck-vec-pattern-tail-element-loan.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-while-break.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-while-cond.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00
borrowck-while.rs Move the borrowck run-pass/compile-fail tests into their own directories 2016-02-24 18:40:39 -05:00