about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.cc
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-04-30 15:24:39 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-05-01 10:40:46 -0700
commitb1976f1f6e467b83d9f91d141924d05b8e580257 (patch)
treea9cba09f027e8e267f2ddd7f9e96eabcee1a1763 /src/test/codegen/stack-alloc-string-slice.cc
parente962870420fef19e8f23a299dbe7499aca1656a5 (diff)
downloadrust-b1976f1f6e467b83d9f91d141924d05b8e580257.tar.gz
rust-b1976f1f6e467b83d9f91d141924d05b8e580257.zip
std: Remove index notation on slice iterators
These implementations were intended to be unstable, but currently the stability
attributes cannot handle a stable trait with an unstable `impl` block. This
commit also audits the rest of the standard library for explicitly-`#[unstable]`
impl blocks. No others were removed but some annotations were changed to
`#[stable]` as they're defacto stable anyway.

One particularly interesting `impl` marked `#[stable]` as part of this commit
is the `Add<&[T]>` impl for `Vec<T>`, which uses `push_all` and implicitly
clones all elements of the vector provided.

Closes #24791
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.cc')
0 files changed, 0 insertions, 0 deletions