rust/tests/ui/iterators
Esteban Küber c4c22b0d52 On E0277 be clearer about implicit Sized bounds on type params and assoc types
```
error[E0277]: the size for values of type `[i32]` cannot be known at compilation time
   --> f100.rs:2:33
    |
2   |     let _ = std::mem::size_of::<[i32]>();
    |                                 ^^^^^ doesn't have a size known at compile-time
    |
    = help: the trait `Sized` is not implemented for `[i32]`
note: required by an implicit `Sized` bound in `std::mem::size_of`
   --> /home/gh-estebank/rust/library/core/src/mem/mod.rs:312:22
    |
312 | pub const fn size_of<T>() -> usize {
    |                      ^ required by the implicit `Sized` requirement on this bound in `size_of`
```

Fix #120178.
2024-02-01 03:30:26 +00:00
..
array-of-ranges.rs
array.rs
bound.rs
bound.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
collect-into-array.rs
collect-into-array.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
collect-into-slice.rs On E0277 be clearer about implicit Sized bounds on type params and assoc types 2024-02-01 03:30:26 +00:00
collect-into-slice.stderr On E0277 be clearer about implicit Sized bounds on type params and assoc types 2024-02-01 03:30:26 +00:00
float_iterator_hint.rs
float_iterator_hint.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
integral.rs
integral.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
into-iter-on-arrays-2018.rs
into-iter-on-arrays-2018.stderr
into-iter-on-arrays-2021.rs
into-iter-on-arrays-lint.fixed
into-iter-on-arrays-lint.rs
into-iter-on-arrays-lint.stderr
into-iterator-type-inference-shift.rs
invalid-iterator-chain-fixable.fixed Special case iterator chain checks for suggestion 2023-10-14 04:11:54 +00:00
invalid-iterator-chain-fixable.rs Special case iterator chain checks for suggestion 2023-10-14 04:11:54 +00:00
invalid-iterator-chain-fixable.stderr Special case iterator chain checks for suggestion 2023-10-14 04:11:54 +00:00
invalid-iterator-chain-with-int-infer.rs
invalid-iterator-chain-with-int-infer.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
invalid-iterator-chain.rs
invalid-iterator-chain.stderr Special case iterator chain checks for suggestion 2023-10-14 04:11:54 +00:00
issue-28098.rs Deduplicate more sized errors on call exprs 2024-01-24 02:53:15 +00:00
issue-28098.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
issue-58952-filter-type-length.rs
iter-cloned-type-inference.rs
iter-count-overflow-debug.rs
iter-count-overflow-ndebug.rs
iter-map-fold-type-length.rs
iter-position-overflow-debug.rs
iter-position-overflow-ndebug.rs
iter-range.rs
iter-step-overflow-debug.rs
iter-step-overflow-ndebug.rs
iter-sum-overflow-debug.rs
iter-sum-overflow-ndebug.rs
iter-sum-overflow-overflow-checks.rs
ranges.rs
ranges.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
rsplit-clone.rs
skip-count-overflow.rs
string.rs
string.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
vec-on-unimplemented.rs
vec-on-unimplemented.stderr Use only one label for multiple unsatisfied bounds on type (typeck) 2024-01-26 20:47:19 +00:00