about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-03-31 15:59:35 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-03-31 15:59:35 -0700
commit3422be3666cba57f1a6fb6ab3deb1a6df66b7695 (patch)
tree224bc66e259d906532ef05f0cf98b515027e2ac5 /src/test/codegen/stack-alloc-string-slice.rs
parent30283d45bb76f7300a0c99ecd719b0c649c8429a (diff)
parent608fff8582bba3ba777e3a1fc7c4ad2550bd7dcd (diff)
downloadrust-3422be3666cba57f1a6fb6ab3deb1a6df66b7695.tar.gz
rust-3422be3666cba57f1a6fb6ab3deb1a6df66b7695.zip
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]
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.rs')
0 files changed, 0 insertions, 0 deletions