rust/library/core/src/future
Matthias Krüger 1b262b8b56
Rollup merge of #110823 - compiler-errors:tweak-await-span, r=b-naber
Tweak await span to not contain dot

Fixes a discrepancy between method calls and await expressions where the latter are desugared to have a span that *contains* the dot (i.e. `.await`) but method call identifiers don't contain the dot. This leads to weird suggestions suggestions in borrowck -- see linked issue.

Fixes #110761

This mostly touches a bunch of tests to tighten their `await` span.
2023-05-01 01:09:47 +02:00
..
future.rs Suggest more impl Trait on -> _ 2023-01-03 23:50:31 +00:00
into_future.rs Don't call await a method 2023-04-27 17:18:12 +00:00
join.rs Stabilize future_poll_fn 2022-07-16 10:04:14 +09:00
mod.rs handle cfg(bootstrap) 2023-04-28 08:47:55 -07:00
pending.rs Also change PhantomData parameter of iter::Empty, and future::Pending 2022-01-07 01:53:51 +01:00
poll_fn.rs poll_fn and Unpin: fix pinning 2022-10-06 13:51:10 +02:00
ready.rs Implement Ready::into_inner() 2022-08-30 13:39:30 +02:00