rust/tests
Matthias Krüger b7c2ba71c8
Rollup merge of #120148 - trevyn:issue-117965, r=cjgillot
`single_use_lifetimes`: Don't suggest deleting lifetimes with bounds

Closes #117965

```
9 |     pub fn get<'b: 'a>(&'b self) -> &'a str {
  |                ^^       -- ...is used only here
  |                |
  |                this lifetime...
```

In this example, I think the `&'b self` can be replaced with the bound itself, yielding `&'a self`, but this would require a deeper refactor. Happy to do as a follow-on PR if desired.
2024-01-20 09:37:28 +01:00
..
assembly tests: add sanity-check assembly test for every target 2024-01-17 09:44:11 +00:00
auxiliary
codegen Directly use volatile_load intrinsic 2024-01-19 10:52:01 +01:00
codegen-units Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
coverage Remove unnecessary lets and borrowing from Waker::noop() usage. 2024-01-17 12:00:27 -08:00
coverage-run-rustdoc
debuginfo Improved collapse_debuginfo attribute, added command-line flag (no|external|yes) 2024-01-17 23:18:14 +07:00
incremental Bless incremental tests. 2024-01-16 23:49:39 +00:00
mir-opt Remove feature(offset_of) from tests 2024-01-19 20:38:51 +00:00
pretty Remove feature(offset_of) from tests 2024-01-19 20:38:51 +00:00
run-make Revert "Auto merge of #113923 - DianQK:restore-no-builtins-lto, r=pnkfelix" 2024-01-12 18:23:04 +08:00
run-make-fulldeps Auto merge of #118899 - veera-sivarajan:fix-makefile, r=Mark-Simulacrum 2024-01-05 07:42:03 +00:00
run-pass-valgrind
rustdoc Rollup merge of #117662 - GuillaumeGomez:links-in-headings, r=notriddle 2024-01-19 19:26:59 +01:00
rustdoc-gui Rollup merge of #117662 - GuillaumeGomez:links-in-headings, r=notriddle 2024-01-19 19:26:59 +01:00
rustdoc-js Rollup merge of #118194 - notriddle:notriddle/tuple-unit, r=GuillaumeGomez 2024-01-06 16:07:46 +01:00
rustdoc-js-std Rollup merge of #118194 - notriddle:notriddle/tuple-unit, r=GuillaumeGomez 2024-01-06 16:07:46 +01:00
rustdoc-json Add regression test for is_object_safe field on traits 2023-12-23 19:00:17 +01:00
rustdoc-ui Rollup merge of #119730 - vuittont60:master, r=GuillaumeGomez 2024-01-18 20:56:19 +01:00
ui Rollup merge of #120148 - trevyn:issue-117965, r=cjgillot 2024-01-20 09:37:28 +01:00
ui-fulldeps Revert changes to internal method for now 2024-01-17 19:59:57 -08:00
COMPILER_TESTS.md