dianne
546ba3d310
suggest_borrow_generic_arg: instantiate clauses properly
...
Fixes issue 133118.
This also modifies `tests/ui/moves/moved-value-on-as-ref-arg.rs` to have more
useful bounds on the tests for suggestions to borrow `Borrow` and `BorrowMut`
arguments. With its old tautological `T: BorrowMut<T>` bound, this fix would
make it suggest a shared borrow for that argument.
2024-11-17 18:09:36 -08:00
..
2024-11-13 20:29:40 -08:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-11-13 20:29:40 -08:00
2024-11-13 20:29:40 -08:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-04-24 22:21:15 +00:00
2024-04-24 22:21:15 +00:00
2024-04-24 22:21:15 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-07-26 14:41:56 -04:00
2024-04-15 21:45:47 -04:00
2024-02-16 20:02:50 +00:00
2024-04-15 21:36:52 -04:00
2024-04-24 22:21:15 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-11-17 18:09:36 -08:00
2024-11-17 18:09:36 -08:00
2024-11-13 16:36:23 -08:00
2024-04-12 04:46:31 +00:00
2024-04-12 04:46:31 +00:00
2024-03-06 12:35:07 -08:00
2024-04-11 16:41:41 +00:00
2024-11-13 20:29:40 -08:00
2024-04-11 16:41:41 +00:00
2024-04-11 16:41:41 +00:00
2024-04-11 16:41:41 +00:00
2024-03-17 21:32:26 +00:00
2024-06-20 04:25:17 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-03-17 21:45:03 +00:00
2024-03-17 21:45:03 +00:00
2024-11-17 18:09:36 -08:00
2024-11-17 18:09:36 -08:00
2024-11-13 20:29:40 -08:00
2024-11-13 20:29:40 -08:00
2024-11-13 20:29:40 -08:00
2024-04-11 16:41:40 +00:00
2024-02-16 20:02:50 +00:00
2024-04-11 16:41:40 +00:00
2024-04-11 16:41:41 +00:00
2024-02-16 20:02:50 +00:00
2024-04-11 16:41:41 +00:00
2024-04-24 22:21:15 +00:00
2024-04-24 22:21:15 +00:00
2024-04-24 22:21:15 +00:00