rust/src/test/ui/array-slice-vec
Manish Goregaokar 8aca6ccedd
Rollup merge of #102977 - lukas-code:is-sorted-hrtb, r=m-ou-se
remove HRTB from `[T]::is_sorted_by{,_key}`

Changes the signature of `[T]::is_sorted_by{,_key}` to match `[T]::binary_search_by{,_key}` and make code like https://github.com/rust-lang/rust/issues/53485#issuecomment-885393452 compile.

Tracking issue: https://github.com/rust-lang/rust/issues/53485

~~Do we need an ACP for something like this?~~ Edit: Filed ACP here: https://github.com/rust-lang/libs-team/issues/121
2022-11-18 17:48:16 -05:00
..
array_const_index-0.rs make const_err a hard error 2022-10-07 18:08:49 +02:00
array_const_index-0.stderr make const_err a hard error 2022-10-07 18:08:49 +02:00
array_const_index-1.rs make const_err a hard error 2022-10-07 18:08:49 +02:00
array_const_index-1.stderr make const_err a hard error 2022-10-07 18:08:49 +02:00
array_const_index-2.rs
array-break-length.rs
array-break-length.stderr Specify that break cannot be used outside of loop *or* labeled block 2022-11-05 01:12:58 +00:00
array-not-vector.rs
array-not-vector.stderr
bounds-check-no-overflow.rs
box-of-array-of-drop-1.rs
box-of-array-of-drop-2.rs
byte-literals.rs
cast-in-array-size.rs
check-static-mut-slices.rs
check-static-slice.rs
copy-out-of-array-1.rs
destructure-array-1.rs
dst-raw-slice.rs
empty-mutable-vec.rs
estr-slice.rs
evec-slice.rs
fixed_length_copy.rs
huge-largest-array.rs
infer_array_len.rs
infer_array_len.stderr Only label place where type is needed if span is meaningful 2022-07-01 17:38:34 +00:00
issue-15730.rs
issue-18425.rs
issue-69103-extra-binding-subslice.rs
issue-69103-extra-binding-subslice.stderr
ivec-pass-by-value.rs
match_arr_unknown_len.rs
match_arr_unknown_len.stderr feat: omit suffixes in const generics (e.g. 1_i32) 2022-07-19 02:35:48 +03:00
mut-vstore-expr.rs
mutability-inherits-through-fixed-length-vec.rs
mutable-alias-vec.rs
nested-vec-1.rs
nested-vec-2.rs
nested-vec-3.rs
new-style-fixed-length-vec.rs
rcvr-borrowed-to-slice.rs
repeat_empty_ok.rs
repeat_empty_ok.stderr
repeated-vector-syntax.rs
show-boxed-slice.rs Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
slice_binary_search.rs
slice_is_sorted_by_borrow.rs add regression test 2022-10-12 18:54:14 +02:00
slice-2.rs
slice-2.stderr
slice-mut-2.rs
slice-mut-2.stderr
slice-mut.rs
slice-mut.stderr
slice-of-zero-size-elements.rs
slice-panic-1.rs
slice-panic-2.rs
slice-pat-type-mismatches.rs
slice-pat-type-mismatches.stderr Only label place where type is needed if span is meaningful 2022-07-01 17:38:34 +00:00
slice-to-vec-comparison.rs
slice-to-vec-comparison.stderr
slice.rs
subslice-only-once-semantic-restriction.rs
subslice-only-once-semantic-restriction.stderr
subslice-patterns-const-eval-match.rs
subslice-patterns-const-eval.rs
suggest-array-length.fixed suggest adding array lengths to references to arrays 2022-09-07 02:37:18 +09:00
suggest-array-length.rs suggest adding array lengths to references to arrays 2022-09-07 02:37:18 +09:00
suggest-array-length.stderr suggest adding array lengths to references to arrays 2022-09-07 02:37:18 +09:00
variance-vec-covariant.rs
vec-dst.rs
vec-fixed-length.rs
vec-late-init.rs
vec-macro-no-std.rs
vec-macro-rvalue-scope.rs
vec-macro-with-brackets.rs
vec-macro-with-comma-only.rs
vec-macro-with-comma-only.stderr Show a note where a macro failed to match 2022-11-14 19:59:15 +01:00
vec-macro-with-trailing-comma.rs
vec-matching-autoslice.rs
vec-matching-fixed.rs
vec-matching-fold.rs
vec-matching-legal-tail-element-borrow.rs
vec-matching.rs
vec-mut-iter-borrow.rs
vec-mut-iter-borrow.stderr
vec-overrun.rs
vec-repeat-with-cast.rs
vec-res-add.rs
vec-res-add.stderr
vec-tail-matching.rs
vector-cast-weirdness.rs
vector-cast-weirdness.stderr
vector-no-ann-2.rs
vector-no-ann.rs
vector-no-ann.stderr