diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2017-11-29 12:14:03 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2017-11-29 21:11:20 -0800 |
| commit | a850bb0e5d07212ae716f447f3f69f6e4ce467da (patch) | |
| tree | 2915b18366da7635096986b24d0cf97739f1fd56 /src/liballoc/slice.rs | |
| parent | 78fcf338833bd265c7f8dd1e46caf02b66039bb8 (diff) | |
| download | rust-a850bb0e5d07212ae716f447f3f69f6e4ce467da.tar.gz rust-a850bb0e5d07212ae716f447f3f69f6e4ce467da.zip | |
Update bootstrap compiler
Also remove a number of `stage0` annotations and such
Diffstat (limited to 'src/liballoc/slice.rs')
| -rw-r--r-- | src/liballoc/slice.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/liballoc/slice.rs b/src/liballoc/slice.rs index 0eee7fb722e..ac815629dcf 100644 --- a/src/liballoc/slice.rs +++ b/src/liballoc/slice.rs @@ -1626,11 +1626,8 @@ impl<T> [T] { } } -// FIXME(LukasKalbertodt): the `not(stage0)` constraint can be removed in the -// future once the stage0 compiler is new enough to know about the `slice_u8` -// lang item. #[lang = "slice_u8"] -#[cfg(all(not(stage0), not(test)))] +#[cfg(not(test))] impl [u8] { /// Checks if all bytes in this slice are within the ASCII range. #[stable(feature = "ascii_methods_on_intrinsics", since = "1.21.0")] |
