rust/tests
bors 795ade084a Auto merge of #113365 - dima74:diralik/add-deprecated-suggestions, r=workingjubilee
Add `suggestion` for some `#[deprecated]` items

Consider code:
```rust
fn main() {
    let _ = ["a", "b"].connect(" ");
}
```

Currently it shows deprecated warning:
```rust
warning: use of deprecated method `std::slice::<impl [T]>::connect`: renamed to join
 --> src/main.rs:2:24
  |
2 |     let _ = ["a", "b"].connect(" ");
  |                        ^^^^^^^
  |
  = note: `#[warn(deprecated)]` on by default
```

This PR adds `suggestion` for `connect` and some other deprecated items, so the warning will be changed to this:
```rust
warning: use of deprecated method `std::slice::<impl [T]>::connect`: renamed to join
 --> src/main.rs:2:24
  |
2 |     let _ = ["a", "b"].connect(" ");
  |                        ^^^^^^^
  |
  = note: `#[warn(deprecated)]` on by default
help: replace the use of the deprecated method
  |
2 |     let _ = ["a", "b"].join(" ");
  |                        ^^^^
```
2023-08-22 00:02:50 +00:00
..
assembly
auxiliary
codegen Bless codegen tests. 2023-08-17 18:28:33 +00:00
codegen-units
debuginfo
incremental
mir-opt Auto merge of #113124 - nbdd0121:eh_frame, r=cjgillot 2023-08-20 09:58:52 +00:00
pretty
run-coverage coverage: Anonymize line numbers in run-coverage test snapshots 2023-08-17 10:03:32 +10:00
run-coverage-rustdoc coverage: Anonymize line numbers in run-coverage test snapshots 2023-08-17 10:03:32 +10:00
run-make Auto merge of #113124 - nbdd0121:eh_frame, r=cjgillot 2023-08-20 09:58:52 +00:00
run-make-fulldeps
run-pass-valgrind
rustdoc Add check-pass tests and fix test behavior 2023-08-18 15:19:18 +08:00
rustdoc-gui Auto merge of #106561 - GuillaumeGomez:warning-block, r=rustdoc 2023-08-21 09:26:02 +00:00
rustdoc-js
rustdoc-js-std
rustdoc-json
rustdoc-ui Add regression test for inline doc 2023-08-18 15:31:36 +08:00
ui Auto merge of #113365 - dima74:diralik/add-deprecated-suggestions, r=workingjubilee 2023-08-22 00:02:50 +00:00
ui-fulldeps
COMPILER_TESTS.md