rust/src/test
Mara 20887b7ebf
Rollup merge of #81939 - kper:fixing-81584-allocate-in-iter, r=davidtwco
Add suggestion `.collect()` for iterators in iterators

Closes #81584

```
error[E0515]: cannot return value referencing function parameter `y`
 --> main3.rs:4:38
  |
4 | ...                   .map(|y| y.iter().map(|x| x + 1))
  |                                -^^^^^^^^^^^^^^^^^^^^^^
  |                                |
  |                                returns a value referencing data owned by the current function
  |                                `y` is borrowed here
  |                                help: Maybe use `.collect()` to allocate the iterator
```

Added the suggestion: `help: Maybe use `.collect()` to allocate the iterator`
2021-03-05 10:57:18 +01:00
..
assembly Support LLVM 12 in rustc 2021-02-28 10:19:44 +01:00
auxiliary
codegen Auto merge of #81451 - nikic:llvm-12, r=nagisa 2021-03-04 15:16:44 +00:00
codegen-units
debuginfo Update tests for extern block linting 2021-01-13 07:49:16 -05:00
incremental Revert "Auto merge of #79637 - spastorino:revert-trait-inheritance-self, r=Mark-Simulacrum" 2021-02-05 18:56:56 -03:00
mir-opt Remove storage markers if they won't be used during code generation 2021-02-28 20:10:44 +01:00
pretty Fix pretty printing of generic associated type constraints 2021-02-13 19:29:55 +00:00
run-make Remove storage markers if they won't be used during code generation 2021-02-28 20:10:44 +01:00
run-make-fulldeps Auto merge of #81451 - nikic:llvm-12, r=nagisa 2021-03-04 15:16:44 +00:00
run-pass-valgrind Update tests for extern block linting 2021-01-13 07:49:16 -05:00
rustdoc Rollup merge of #80763 - petrochenkov:pubusecrate, r=estebank 2021-03-05 10:57:15 +01:00
rustdoc-gui Add GUI tests 2021-02-28 23:01:29 +01:00
rustdoc-js Add test for primitive search 2021-02-01 15:56:51 +01:00
rustdoc-js-std Add search index test for primitive types 2021-01-27 10:05:06 +01:00
rustdoc-json Remove krate.version; fix crate_version in JSON 2021-03-01 00:30:40 -05:00
rustdoc-ui Rollup merge of #80527 - jyn514:rustdoc-lints, r=GuillaumeGomez 2021-03-04 20:01:01 +09:00
rustfix
ui Rollup merge of #81939 - kper:fixing-81584-allocate-in-iter, r=davidtwco 2021-03-05 10:57:18 +01:00
ui-fulldeps Allow/fix non_fmt_panic in tests. 2021-02-03 23:15:45 +01:00
COMPILER_TESTS.md