Files
rust/tests/ui
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
..
2025-05-21 07:24:43 +00:00
2025-06-04 17:48:50 +05:00
2025-03-03 08:52:07 +01:00
2025-06-04 17:48:50 +05:00
2025-05-12 16:35:09 +02:00
2025-06-05 20:03:29 +05:00
2025-06-04 19:32:06 +05:00
2025-06-02 11:00:46 +02:00
2025-06-03 10:52:32 -07:00
2025-05-31 19:49:19 +05:00
2025-03-11 20:26:10 -07:00
2025-05-09 12:09:15 +02:00
2025-06-03 10:52:32 -07:00
2025-06-03 11:45:58 +02:00
2025-06-04 17:48:50 +05:00
2025-05-31 19:49:19 +05:00
2025-04-25 20:50:57 +09:00
2025-06-03 07:38:06 +05:00
2025-06-05 20:03:29 +05:00
2025-03-30 01:32:21 +03:00
2025-06-03 14:50:22 +10:00
2025-05-31 19:49:19 +05:00
2025-01-29 15:45:13 +00:00
2025-03-27 14:11:11 +01:00
2025-05-30 12:14:27 +02:00
2025-04-25 20:50:57 +09:00
2025-05-05 21:09:31 +02:00
2025-05-31 18:34:35 +02:00
2025-02-27 10:26:33 +00:00
2025-04-03 21:41:58 +00:00
2025-02-04 21:42:43 +05:30
2025-04-03 21:41:58 +00:00
2025-05-07 21:51:41 +05:00
2025-04-04 16:32:18 +02:00
2025-05-09 22:21:35 +05:00