rust/tests
Esteban Küber 89a3c19832 Be more lax in .into_iter() suggestion when encountering Iterator methods on non-Iterator
```
error[E0599]: no method named `map` found for struct `Vec<bool>` in the current scope
  --> $DIR/vec-on-unimplemented.rs:3:23
   |
LL |     vec![true, false].map(|v| !v).collect::<Vec<_>>();
   |                       ^^^ `Vec<bool>` is not an iterator
   |
help: call `.into_iter()` first
   |
LL |     vec![true, false].into_iter().map(|v| !v).collect::<Vec<_>>();
   |                       ++++++++++++
```

We used to provide some help through `rustc_on_unimplemented` on non-`impl Trait` and non-type-params, but this lets us get rid of some otherwise unnecessary conditions in the annotation on `Iterator`.
2024-03-03 18:53:36 +00:00
..
assembly Remove underscore from QNX target file name 2024-03-02 16:50:03 +01:00
auxiliary
codegen Add initial support for DataFlowSanitizer 2024-03-01 18:50:40 -08:00
codegen-units
coverage
coverage-run-rustdoc
debuginfo Use generic NonZero in tests. 2024-02-25 12:03:48 +01:00
incremental fix use of platform_intrinsics in tests 2024-02-25 08:15:44 +01:00
mir-opt Rollup merge of - Nadrieril:simple-binding-order, r=matthewjasper 2024-03-02 20:13:23 +01:00
pretty
run-make Auto merge of - jieyouxu:run-make-v2, r=bjorn3 2024-03-01 16:43:57 +00:00
run-make-fulldeps
run-pass-valgrind
rustdoc Add regression test for 2024-03-01 15:33:02 +01:00
rustdoc-gui
rustdoc-js
rustdoc-js-std
rustdoc-json
rustdoc-ui Update ui tests 2024-02-29 14:43:43 +01:00
ui Be more lax in .into_iter() suggestion when encountering Iterator methods on non-Iterator 2024-03-03 18:53:36 +00:00
ui-fulldeps Implement missing ABI structures in StableMIR 2024-03-01 11:02:05 -08:00
COMPILER_TESTS.md