You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Contains data for specific types of import directives.#[derive(Clone,Debug)]pubenumImportDirectiveSubclass<'a>{SingleImport{target:Ident,source:Ident,result:PerNS<Cell<Result<&'aNameBinding<'a>,Determinacy>>>,type_ns_only:bool,},GlobImport{is_prelude:bool,max_vis:Cell<ty::Visibility>,// The visibility of the greatest reexport.// n.b. `max_vis` is only used in `finalize_import` to check for reexport errors.},ExternCrate(Option<Name>),MacroUse,}
Output
/// Contains data for specific types of import directives.#[derive(Clone,Debug)]pubenumImportDirectiveSubclass<'a>{SingleImport{target:Ident,source:Ident,result:PerNS<Cell<Result<&'aNameBinding<'a>,Determinacy>>>,type_ns_only:bool,},GlobImport{is_prelude:bool,max_vis:Cell<ty::Visibility>,// The visibility of the greatest reexport.// n.b. `max_vis` is only used in `finalize_import` to check for reexport errors.},ExternCrate(Option<Name>),MacroUse,}
Input
Output
Meta
0.2.16-nightly (4e04e82 2017-11-28)
The above example is taken from https://github.com/rust-lang/rust/blob/90f5cfdfbd3c9e39f897fd2271c7b1c7fdaae58e/src/librustc_resolve/resolve_imports.rs#L37-L53.
The text was updated successfully, but these errors were encountered: