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 Kill more isizes 2015-01-31 17:40:40 +01:00
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 Update suffixes en masse in tests using perl -p -i -e 2015-02-18 09:10:10 -05:00
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 Update suffixes en masse in tests using perl -p -i -e 2015-02-18 09:10:10 -05:00
glob-use-std.rs
hashmap-capacity-overflow.rs Remove int/uint from libstd/lib.rs 2015-03-01 13:03:44 +01:00
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 rustc: Add a debug_assertions #[cfg] directive 2015-03-05 14:51:38 -08:00
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 rustc: Add a debug_assertions #[cfg] directive 2015-03-05 14:51:38 -08:00
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 rustc: Add a debug_assertions #[cfg] directive 2015-03-05 14:51:38 -08:00
panic-arg.rs Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
panic-macro-any-wrapped.rs Switched to Box::new in many places. 2015-03-03 21:05:55 +01:00
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 Test fixes and rebase conflicts 2015-02-17 17:27:46 -08:00
panic-task-name-owned.rs Test fixes and rebase conflicts 2015-02-17 17:27:46 -08:00
panic.rs Kill more isizes 2015-01-31 17:40:40 +01:00
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 Fallout from stabilization 2015-02-17 15:14:17 -08:00
test-panic.rs
test-should-fail-bad-message.rs Rename #[should_fail] to #[should_panic] 2015-03-09 10:14:21 -07:00
test-tasks-invalid-value.rs RUST_TEST_TASKS -> RUST_TEST_THREADS 2015-03-19 15:42:56 -04:00
tls-exit-status.rs Replace some uses of deprecated os functions 2015-02-16 16:19:24 +02:00
too-much-recursion-unwinding.rs
unimplemented-macro-panic.rs
unique-panic.rs Switched to Box::new in many places. 2015-03-03 21:05:55 +01:00
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 Switched to Box::new in many places. 2015-03-03 21:05:55 +01:00
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