-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
A-idegeneral IDE featuresgeneral IDE featuresC-featureCategory: feature requestCategory: feature requestE-mediumS-actionableSomeone could pick this issue up and work on it right nowSomeone could pick this issue up and work on it right now
Description
Example of code from tokio below, the codes wrapped in macro cfg_rt
is not visible in vscode Outline. I have set rust-analyzer.cargo.features: "all"
cfg_rt! {
pub fn spawn_local<F>(future: F) -> JoinHandle<F::Output>
where
F: Future + 'static,
F::Output: 'static,
{
spawn_local_inner(future, None)
}
}
macro_rules! cfg_rt {
($($item:item)*) => {
$(
#[cfg(feature = "rt")]
#[cfg_attr(docsrs, doc(cfg(feature = "rt")))]
$item
)*
}
}
Metadata
Metadata
Assignees
Labels
A-idegeneral IDE featuresgeneral IDE featuresC-featureCategory: feature requestCategory: feature requestE-mediumS-actionableSomeone could pick this issue up and work on it right nowSomeone could pick this issue up and work on it right now