rust/src/test/run-fail
Alex Crichton 3422be3666 rollup merge of #23288: alexcrichton/issue-19470
This is a deprecated attribute that is slated for removal, and it also affects
all implementors of the trait. This commit removes the attribute and fixes up
implementors accordingly. The primary implementation which was lost was the
ability to compare `&[T]` and `Vec<T>` (in that order).

This change also modifies the `assert_eq!` macro to not consider both directions
of equality, only the one given in the left/right forms to the macro. This
modification is motivated due to the fact that `&[T] == Vec<T>` no longer
compiles, causing hundreds of errors in unit tests in the standard library (and
likely throughout the community as well).

Closes #19470
[breaking-change]
2015-03-31 15:59:35 -07:00
..
args-panic.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
assert-as-macro.rs
assert-eq-macro-panic.rs std: Remove #[old_orphan_check] from PartialEq 2015-03-31 13:39:14 -07:00
assert-macro-explicit.rs
assert-macro-fmt.rs
assert-macro-owned.rs
assert-macro-static.rs
binop-fail-3.rs Fallout in tests: largely changes to error messages. 2015-03-30 09:05:59 -04:00
binop-panic.rs
bounds-check-no-overflow.rs Fallout in tests: largely changes to error messages. 2015-03-30 09:05:59 -04:00
bug-811.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
bug-2470-bounds-check-overflow-2.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
bug-2470-bounds-check-overflow-3.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
bug-2470-bounds-check-overflow.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
die-macro-expr.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
die-macro-pure.rs
die-macro.rs
divide-by-zero.rs
doublepanic.rs
dst-raw-slice.rs
explicit-panic-msg.rs
explicit-panic.rs
expr-fn-panic.rs
expr-if-panic-fn.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
expr-if-panic.rs
expr-match-panic-fn.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
expr-match-panic.rs
extern-panic.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
fmt-panic.rs
for-each-loop-panic.rs
glob-use-std.rs
hashmap-capacity-overflow.rs
if-check-panic.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
if-cond-bot.rs
issue-948.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
issue-2061.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
issue-2444.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
issue-2761.rs
issue-3029.rs
issue-6458-1.rs
issue-12920.rs
issue-13202.rs
issue-18576.rs
issue-20971.rs
issue-23354-2.rs Fix broken codegen for [expr; n] where "expr" diverges 2015-03-14 14:23:43 +01:00
issue-23354.rs Always evaluate the expression in [expr; n] 2015-03-14 14:19:29 +01:00
main-panic.rs
match-bot-panic.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
match-disc-bot.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
match-wildcards.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
mod-zero.rs
overflowing-add.rs
overflowing-lsh-1.rs Test suite for overflowing shift operators. 2015-03-20 11:26:09 +01:00
overflowing-lsh-2.rs Test suite for overflowing shift operators. 2015-03-20 11:26:09 +01:00
overflowing-lsh-3.rs Test suite for overflowing shift operators. 2015-03-20 11:26:09 +01:00
overflowing-lsh-4.rs placate check-pretty and pretty-printer bug; see also issue 23623. 2015-03-22 23:53:06 +01:00
overflowing-mul.rs
overflowing-rsh-1.rs Test suite for overflowing shift operators. 2015-03-20 11:26:09 +01:00
overflowing-rsh-2.rs Test suite for overflowing shift operators. 2015-03-20 11:26:09 +01:00
overflowing-rsh-3.rs Test suite for overflowing shift operators. 2015-03-20 11:26:09 +01:00
overflowing-rsh-4.rs placate check-pretty and pretty-printer bug; see also issue 23623. 2015-03-22 23:53:06 +01:00
overflowing-sub.rs
panic-arg.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
panic-macro-any-wrapped.rs
panic-macro-any.rs
panic-macro-explicit.rs
panic-macro-fmt.rs
panic-macro-owned.rs
panic-macro-static.rs
panic-main.rs
panic-parens.rs
panic-task-name-none.rs
panic-task-name-owned.rs
panic.rs
result-get-panic.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
rhs-type.rs
rt-set-exit-status-panic2.rs std: Clean out #[deprecated] APIs 2015-03-31 15:49:57 -07:00
rt-set-exit-status-panic.rs std: Clean out #[deprecated] APIs 2015-03-31 15:49:57 -07:00
rt-set-exit-status.rs std: Clean out #[deprecated] APIs 2015-03-31 15:49:57 -07:00
run-unexported-tests.rs
str-overrun.rs
task-spawn-barefn.rs
test-panic.rs
test-should-fail-bad-message.rs
test-tasks-invalid-value.rs RUST_TEST_TASKS -> RUST_TEST_THREADS 2015-03-19 15:42:56 -04:00
tls-exit-status.rs
too-much-recursion-unwinding.rs
unimplemented-macro-panic.rs
unique-panic.rs
unreachable-fmt-msg.rs
unreachable-macro-panic.rs
unreachable-static-msg.rs
unreachable.rs
unwind-interleaved.rs
unwind-rec2.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
unwind-rec.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
unwind-unique.rs
vec-overrun.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
while-body-panics.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
while-panic.rs