mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Implement IntoFuture type inference
This commit is contained in:
parent
3792720086
commit
5810c8188a
9 changed files with 75 additions and 22 deletions
|
@ -257,6 +257,7 @@ macro_rules! __known_path {
|
|||
(core::ops::RangeToInclusive) => {};
|
||||
(core::ops::RangeInclusive) => {};
|
||||
(core::future::Future) => {};
|
||||
(core::future::IntoFuture) => {};
|
||||
(core::ops::Try) => {};
|
||||
($path:path) => {
|
||||
compile_error!("Please register your known path in the path module")
|
||||
|
|
|
@ -258,6 +258,7 @@ pub mod known {
|
|||
Try,
|
||||
Ok,
|
||||
Future,
|
||||
IntoFuture,
|
||||
Result,
|
||||
Option,
|
||||
Output,
|
||||
|
@ -391,6 +392,7 @@ pub mod known {
|
|||
future_trait,
|
||||
index,
|
||||
index_mut,
|
||||
into_future,
|
||||
mul_assign,
|
||||
mul,
|
||||
neg,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue