mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
Drop ignore
from doctests
This commit is contained in:
parent
fe910c7bc4
commit
196cb65ead
1 changed files with 3 additions and 3 deletions
|
@ -538,20 +538,20 @@ pub struct UseTree {
|
||||||
|
|
||||||
#[derive(Debug, Clone, Eq, PartialEq)]
|
#[derive(Debug, Clone, Eq, PartialEq)]
|
||||||
pub enum UseTreeKind {
|
pub enum UseTreeKind {
|
||||||
/// ```ignore
|
/// ```
|
||||||
/// use path::to::Item;
|
/// use path::to::Item;
|
||||||
/// use path::to::Item as Renamed;
|
/// use path::to::Item as Renamed;
|
||||||
/// use path::to::Trait as _;
|
/// use path::to::Trait as _;
|
||||||
/// ```
|
/// ```
|
||||||
Single { path: Interned<ModPath>, alias: Option<ImportAlias> },
|
Single { path: Interned<ModPath>, alias: Option<ImportAlias> },
|
||||||
|
|
||||||
/// ```ignore
|
/// ```
|
||||||
/// use *; // (invalid, but can occur in nested tree)
|
/// use *; // (invalid, but can occur in nested tree)
|
||||||
/// use path::*;
|
/// use path::*;
|
||||||
/// ```
|
/// ```
|
||||||
Glob { path: Option<Interned<ModPath>> },
|
Glob { path: Option<Interned<ModPath>> },
|
||||||
|
|
||||||
/// ```ignore
|
/// ```
|
||||||
/// use prefix::{self, Item, ...};
|
/// use prefix::{self, Item, ...};
|
||||||
/// ```
|
/// ```
|
||||||
Prefixed { prefix: Option<Interned<ModPath>>, list: Box<[UseTree]> },
|
Prefixed { prefix: Option<Interned<ModPath>>, list: Box<[UseTree]> },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue