Files
rust/tests/ui
Matthias Krüger bd3e4474a6 Rollup merge of #136160 - ShE3py:should-panic-backticks, r=thomcc
Remove backticks from `ShouldPanic::YesWithMessage`'s `TrFailedMsg`

More legible imo
```rs
#[test]
#[should_panic = "love"]
fn foo() {
    assert!(1 == 2);
}
```
Before:
```
note: panic did not contain expected string
      panic message: `"assertion failed: 1 == 2"`,
 expected substring: `"love"`
```
After:
```
note: panic did not contain expected string
      panic message: "assertion failed: 1 == 2"
 expected substring: "love"
```
Also removed the comma as `assert_eq!` / `assert_ne!` don't use one.

``@rustbot`` label +A-libtest
2025-04-30 10:18:24 +02:00
..
2025-03-03 08:52:07 +01:00
2025-04-24 03:20:19 +05:00
2025-04-25 19:13:41 +00:00
2025-02-27 10:26:33 +00:00
2024-12-12 23:36:27 +00:00
2025-03-11 20:26:10 -07:00
2025-02-24 18:48:40 +00:00
2025-04-03 21:41:58 +00:00
2024-12-12 23:36:27 +00:00
2025-04-25 20:50:57 +09:00
2025-04-25 12:16:40 +00:00
2025-04-25 20:50:57 +09:00
2025-01-28 19:35:51 +00:00
2025-04-25 17:02:59 +05:00
2025-04-27 17:25:15 +02:00
2025-04-15 11:14:23 +02:00
2025-04-21 16:16:38 +09:00
2025-02-27 20:02:25 +00:00
2025-04-25 20:50:57 +09:00
2025-04-25 17:02:59 +05:00
2025-03-30 01:32:21 +03:00
2025-04-04 09:44:19 +02:00
2025-03-11 20:26:10 -07:00
2025-01-29 15:45:13 +00:00
2025-03-27 14:11:11 +01:00
2025-04-28 07:50:18 +00:00
2025-04-25 20:50:57 +09: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-04-04 16:32:18 +02:00