rust/tests/ui/impl-trait/precise-capturing
Esteban Küber f0845adb0c Show diff suggestion format on verbose replacement
```
error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
  --> $DIR/attempted-access-non-fatal.rs:7:15
   |
LL |     let _ = 2.l;
   |               ^
   |
help: if intended to be a floating point literal, consider adding a `0` after the period and a `f64` suffix
   |
LL -     let _ = 2.l;
LL +     let _ = 2.0f64;
   |
```
2025-02-10 20:21:39 +00:00
..
auxiliary Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
apit.rs
apit.stderr
bad-lifetimes.rs
bad-lifetimes.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
bad-params.rs
bad-params.stderr Introduce distinct error codes for precise capturing 2024-09-16 10:56:22 -04:00
bound-modifiers.rs Gate async fn trait bound modifier on async_trait_bounds 2024-12-02 16:50:44 +00:00
bound-modifiers.stderr Gate async fn trait bound modifier on async_trait_bounds 2024-12-02 16:50:44 +00:00
capture-parent-arg.rs
capture-parent-arg.stderr
capturing-implicit.rs Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
capturing-implicit.stderr Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
duplicated-use.real.stderr
duplicated-use.rs
dyn-use.rs
dyn-use.stderr
elided.rs
external-macro.rs Update tests to use new proc-macro header 2024-11-27 07:18:25 -08:00
foreign-2021.rs Try to point out when edition 2024 lifetime capture rules cause borrowck issues 2024-10-31 01:35:14 +00:00
foreign-2021.stderr Stabilize the 2024 edition 2024-11-22 11:12:15 -08:00
forgot-to-capture-const.rs
forgot-to-capture-const.stderr
forgot-to-capture-lifetime.rs
forgot-to-capture-lifetime.stderr
forgot-to-capture-type.rs Add variances to RPITITs 2024-10-10 11:46:48 -07:00
forgot-to-capture-type.stderr Add variances to RPITITs 2024-10-10 11:46:48 -07:00
hidden-type-suggestion.rs
hidden-type-suggestion.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
higher-ranked.rs
illegal-positions.real.stderr
illegal-positions.rs
migration-note.rs best_blame_constraint: don't filter constraints by sup SCC 2025-01-06 16:08:29 -08:00
migration-note.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
ordering.rs
ordering.stderr
outlives.rs
overcaptures-2024-but-fine.rs
overcaptures-2024-machine-applicable.fixed Make precise capturing suggestion machine-applicable only if it has not APITs 2024-11-12 04:08:34 +00:00
overcaptures-2024-machine-applicable.rs Make precise capturing suggestion machine-applicable only if it has not APITs 2024-11-12 04:08:34 +00:00
overcaptures-2024-machine-applicable.stderr Make precise capturing suggestion machine-applicable only if it has not APITs 2024-11-12 04:08:34 +00:00
overcaptures-2024.fixed Rudimentary heuristic to insert parentheses when needed for RPIT overcaptures lint 2024-12-10 20:42:47 +00:00
overcaptures-2024.rs Rudimentary heuristic to insert parentheses when needed for RPIT overcaptures lint 2024-12-10 20:42:47 +00:00
overcaptures-2024.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
redundant.rs Make sure to mark IMPL_TRAIT_REDUNDANT_CAPTURES as Allow in edition 2024 2025-01-13 16:41:01 +00:00
redundant.stderr Make sure to mark IMPL_TRAIT_REDUNDANT_CAPTURES as Allow in edition 2024 2025-01-13 16:41:01 +00:00
rpitit-captures-more-method-lifetimes.rs Add variances to RPITITs 2024-10-10 11:46:48 -07:00
rpitit-captures-more-method-lifetimes.stderr Add variances to RPITITs 2024-10-10 11:46:48 -07:00
rpitit-impl-captures-too-much.rs Add variances to RPITITs 2024-10-10 11:46:48 -07:00
rpitit-impl-captures-too-much.stderr Actually use placeholder regions for trait method late bound regions in collect_return_position_impl_trait_in_trait_tys 2024-11-24 23:11:49 +00:00
rpitit-outlives-2.rs Add opt_alias_variances and use it in outlives code 2025-02-06 15:16:27 +00:00
rpitit-outlives.rs Add opt_alias_variances and use it in outlives code 2025-02-06 15:16:27 +00:00
rpitit.rs Add variances to RPITITs 2024-10-10 11:46:48 -07:00
rpitit.stderr Clarify implicit captures for RPITIT 2024-10-10 11:46:51 -07:00
self-capture.rs Add variances to RPITITs 2024-10-10 11:46:48 -07:00
unexpected-token.rs
unexpected-token.stderr