rust/tests
Jacob Pratt cf7ffa1aec
Rollup merge of #142045 - estebank:obligation-cause-code-suggestion, r=compiler-errors
Make obligation cause code suggestions verbose

```
error[E0277]: `()` is not a future
  --> $DIR/unnecessary-await.rs:28:10
   |
LL |     e!().await;
   |          ^^^^^ `()` is not a future
   |
   = help: the trait `Future` is not implemented for `()`
   = note: () must be a future or must implement `IntoFuture` to be awaited
   = note: required for `()` to implement `IntoFuture`
help: remove the `.await`
   |
LL -     e!().await;
LL +     e!();
   |
```
```
error[E0277]: the trait bound `String: Copy` is not satisfied
  --> $DIR/const-fn-in-vec.rs:1:47
   |
LL | static _MAYBE_STRINGS: [Option<String>; 5] = [None; 5];
   |                                               ^^^^ the trait `Copy` is not implemented for `String`
   |
   = note: required for `Option<String>` to implement `Copy`
   = note: the `Copy` trait is required because this value will be copied for each element of the array
help: create an inline `const` block
   |
LL | static _MAYBE_STRINGS: [Option<String>; 5] = [const { None }; 5];
   |                                               +++++++      +
```

Part of rust-lang/rust#141973
2025-06-07 07:05:47 +02:00
..
assembly Add compiler tests for xray 2025-05-26 00:39:23 +08:00
auxiliary stabilize naked_functions 2025-04-20 11:18:38 +02:00
codegen x86 (32/64): go back to passing SIMD vectors by-ptr 2025-06-04 08:38:49 +02:00
codegen-units Remove mono item collection strategy override from -Zprint-mono-items 2025-05-09 12:19:09 +02:00
coverage coverage: Revert "unused local file IDs" due to empty function names 2025-05-27 23:33:29 +10:00
coverage-run-rustdoc Update coverage-run-rustdoc output 2025-03-28 10:35:53 +01:00
crashes Rollup merge of #141932 - azhogin:azhogin/async-drop-inside-asyncgen-fix, r=oli-obk 2025-06-04 19:50:21 +02:00
debuginfo Rollup merge of #138285 - beetrees:repr128-stable, r=traviscross,bjorn3 2025-05-29 04:50:46 +02:00
incremental Add a test to reproduce ICE 2025-06-03 20:56:45 +00:00
mir-opt Auto merge of #139118 - scottmcm:slice-get-unchecked-intrinsic, r=workingjubilee 2025-05-31 21:38:21 +00:00
pretty Update generic tests 2025-05-21 07:24:43 +00:00
run-make Rollup merge of #141538 - folkertdev:systemv-x86_64-va_arg, r=workingjubilee 2025-05-30 07:01:30 +02:00
rustdoc Support middle::ty assoc const eq predicates again 2025-06-05 19:19:18 +02:00
rustdoc-gui Rollup merge of #139831 - lolbinarycat:rustdoc-mobile-sidebar, r=GuillaumeGomez 2025-05-25 04:00:55 +02:00
rustdoc-js yeet CanonicalVarInfo 2025-05-23 12:10:53 +00:00
rustdoc-js-std Consistent trait bounds for ExtractIf Debug impls 2025-05-05 19:46:46 -07:00
rustdoc-json Stabilise repr128 2025-05-28 15:14:34 +01:00
rustdoc-ui Rollup merge of #141698 - oli-obk:ctfe-err-flip, r=RalfJung 2025-06-03 21:53:37 +02:00
ui Rollup merge of #142045 - estebank:obligation-cause-code-suggestion, r=compiler-errors 2025-06-07 07:05:47 +02:00
ui-fulldeps remove visit_clobber and move DummyAstNode to rustc_expand 2025-05-29 12:46:26 +08:00
COMPILER_TESTS.md