Matthias Krüger
e962e52725
Rollup merge of #139551 - jogru0:121672, r=oli-obk
...
report call site of inlined scopes for large assignment lints
Addressed issue: #121672
Tracking issue: #83518
r? `@oli-obk`
I tried to follow your comment about what to do [here](https://github.com/rust-lang/rust/issues/121672#issuecomment-1972783675 ). However, I'm totally unfamiliar with the code so far (this is my first contribution touching compiler code), so I apologize in advance if I did something stupid 😅
In particular, I'm not sure I use the _correct_ source scope to look for inline data, as there is a whole `IndexVec` of them. My changes definitely did something, as can be seen by the added ui test. However, the result is not as anticipated in the issue:
```
LL | let cell = std::cell::UnsafeCell::new(data);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ value moved from here
```
instead of
```
LL | let cell = std::cell::UnsafeCell::new(data);
| ^^^^ value moved from here
```
raising my suspicion that maybe I got the wrong source scope.
2025-04-09 20:23:12 +02:00
..
2025-01-22 00:00:31 -05:00
2025-03-21 09:35:31 +01:00
2025-02-10 20:21:39 +00:00
2025-04-03 11:08:55 +03:00
2025-04-08 20:49:50 +02:00
2025-03-11 12:05:02 +00:00
2025-02-10 20:21:39 +00:00
2025-02-22 23:03:14 +00:00
2025-04-08 23:06:31 +03:00
2025-04-08 23:06:31 +03:00
2025-02-10 20:21:39 +00:00
2025-04-03 11:08:55 +03:00
2025-02-11 08:52:08 +00:00
2025-03-06 10:50:23 +00:00
2025-02-11 19:42:47 -08:00
2025-02-11 19:42:47 -08:00
2025-02-11 19:42:47 -08:00
2025-04-03 11:08:55 +03:00
2025-04-03 11:08:55 +03:00
2024-12-23 20:25:41 +00:00
2025-03-25 17:33:09 +03:00
2025-02-10 20:21:39 +00:00
2025-02-10 20:21:39 +00:00
2025-01-07 16:04:14 +01:00
2025-03-21 18:25:29 +03:00
2025-03-21 18:25:29 +03:00
2025-03-24 20:07:35 +01:00
2025-03-24 20:07:35 +01:00
2025-04-06 21:41:47 +02:00
2025-03-11 21:56:53 +01:00
2025-03-11 21:56:53 +01:00
2025-03-30 19:33:15 +02:00
2025-03-30 19:33:15 +02:00
2025-01-09 23:47:11 -08:00
2025-02-10 20:21:39 +00:00
2025-03-11 12:05:02 +00:00
2025-03-11 12:05:02 +00:00
2025-04-03 11:08:55 +03:00
2025-04-03 11:08:55 +03:00
2025-02-02 01:00:33 +00:00
2025-02-02 01:00:33 +00:00
2025-02-10 20:21:39 +00:00
2025-02-10 20:21:39 +00:00
2025-01-20 16:46:00 -05:00
2025-01-20 16:46:00 -05:00
2025-03-21 13:59:29 +00:00
2025-02-10 20:21:39 +00:00
2025-04-08 23:06:31 +03:00
2025-01-06 03:17:04 +00:00
2025-03-11 12:05:02 +00:00
2025-03-11 12:05:02 +00:00
2025-03-11 12:05:02 +00:00
2025-03-11 12:05:02 +00:00
2025-03-11 12:05:02 +00:00
2025-03-11 12:05:02 +00:00
2025-03-11 12:05:02 +00:00
2025-03-11 12:05:02 +00:00
2025-03-11 12:05:02 +00:00
2025-03-11 12:05:02 +00:00
2025-03-11 12:05:02 +00:00
2025-02-11 08:30:35 +00:00
2025-02-11 08:30:35 +00:00
2025-01-07 16:04:14 +01:00
2025-01-07 16:04:14 +01:00
2025-01-26 12:18:33 +01:00
2025-01-26 12:18:33 +01:00
2025-02-20 13:39:39 +00:00
2025-02-20 13:39:39 +00:00
2024-12-23 20:25:41 +00:00
2024-12-23 20:25:41 +00:00
2025-02-09 20:39:43 +08:00
2025-02-09 20:39:43 +08:00
2024-12-27 19:58:16 +11:00
2025-04-03 11:08:55 +03:00
2025-04-03 11:08:55 +03:00
2025-04-03 11:08:55 +03:00
2025-04-03 11:08:55 +03:00
2025-04-03 11:08:55 +03:00
2025-04-03 11:08:55 +03:00
2025-04-03 11:08:55 +03:00
2025-04-03 11:08:55 +03:00
2025-04-03 11:08:55 +03:00
2025-04-03 11:08:55 +03:00
2025-04-03 11:08:55 +03:00
2025-04-03 11:08:55 +03:00
2025-04-03 11:08:55 +03:00
2025-02-10 20:21:39 +00:00
2025-02-14 00:44:10 -08:00
2025-01-26 12:18:33 +01:00
2025-01-26 12:18:33 +01:00
2025-03-25 17:33:09 +03:00
2025-04-03 11:08:55 +03:00
2025-04-03 11:08:55 +03:00
2025-04-08 23:06:31 +03:00
2025-03-11 12:05:02 +00:00
2025-03-11 12:05:02 +00:00
2025-03-11 12:05:02 +00:00
2025-03-11 12:05:02 +00:00
2025-02-10 20:21:39 +00:00
2025-02-21 00:41:17 +00:00
2025-02-21 00:41:17 +00:00
2025-03-14 19:50:03 +00:00
2025-02-28 07:25:52 +05:30
2025-02-28 07:25:52 +05:30
2025-02-21 17:50:11 +00:00
2024-12-24 11:35:38 +08:00
2025-04-03 11:08:55 +03:00
2025-04-03 11:08:55 +03:00
2025-04-08 23:06:31 +03:00
2025-03-25 08:22:35 +01:00
2025-03-25 08:22:35 +01:00
2025-02-14 00:27:13 -08:00