Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix doc links now that crate::* is no longer imported
warning: unresolved link to `parse::Parse` --> src/macros.rs:36:11 | 36 | $(#[$attr])* $pub $struct $name $body | ^^^^^^^^ | ::: src/attr.rs:19:1 | 19 | / ast_struct! { 20 | | /// An attribute, like `#[repr(transparent)]`. 21 | | /// 22 | | /// <br> ... | 178 | | } 179 | | } | |_- in this macro invocation | = note: the link appears in this line: [`Parse`]: parse::Parse ^^^^^^^^^^^^ = note: no item named `parse` in scope = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default = note: this warning originates in the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unresolved link to `parse::ParseBuffer::parse` --> src/macros.rs:36:11 | 36 | $(#[$attr])* $pub $struct $name $body | ^^^^^^^^ | ::: src/attr.rs:19:1 | 19 | / ast_struct! { 20 | | /// An attribute, like `#[repr(transparent)]`. 21 | | /// 22 | | /// <br> ... | 178 | | } 179 | | } | |_- in this macro invocation | = note: the link appears in this line: [`ParseStream::parse`]: parse::ParseBuffer::parse ^^^^^^^^^^^^^^^^^^^^^^^^^ = note: no item named `parse` in scope = note: this warning originates in the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unresolved link to `parse::ParseBuffer::call` --> src/macros.rs:36:11 | 36 | $(#[$attr])* $pub $struct $name $body | ^^^^^^^^ | ::: src/attr.rs:19:1 | 19 | / ast_struct! { 20 | | /// An attribute, like `#[repr(transparent)]`. 21 | | /// 22 | | /// <br> ... | 178 | | } 179 | | } | |_- in this macro invocation | = note: the link appears in this line: [`ParseStream::call`]: parse::ParseBuffer::call ^^^^^^^^^^^^^^^^^^^^^^^^ = note: no item named `parse` in scope = note: this warning originates in the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unresolved link to `Expr` --> src/macros.rs:49:11 | 49 | $(#[$enum_attr])* $pub $enum $name $body | ^^^^^^^^^^^^^ | ::: src/derive.rs:21:1 | 21 | / ast_enum! { 22 | | /// The storage of a struct, enum or union data structure. 23 | | /// 24 | | /// # Syntax tree enum ... | 34 | | } 35 | | } | |_- in this macro invocation | = note: the link appears in this line: [syntax tree enum]: Expr#syntax-tree-enums ^^^^^^^^^^^^^^^^^^^^^^ = note: no item named `Expr` in scope = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` = note: this warning originates in the macro `ast_enum` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unresolved link to `parse_file` --> src/macros.rs:36:11 | 36 | $(#[$attr])* $pub $struct $name $body | ^^^^^^^^ | ::: src/file.rs:4:1 | 4 | / ast_struct! { 5 | | /// A complete file of Rust source code. 6 | | /// 7 | | /// Typically `File` objects are created with [`parse_file`]. ... | 86 | | } 87 | | } | |_- in this macro invocation | = note: the link appears in this line: Typically `File` objects are created with [`parse_file`]. ^^^^^^^^^^^^ = note: no item named `parse_file` in scope = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` = note: this warning originates in the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unresolved link to `Expr` --> src/macros.rs:61:11 | 61 | $(#[$enum_attr])* $pub $enum $name $body | ^^^^^^^^^^^^^ | ::: src/pat.rs:15:1 | 15 | / ast_enum_of_structs! { 16 | | /// A pattern in a local binding, function signature, match expression, or 17 | | /// various other places. 18 | | /// ... | 101 | | } 102 | | } | |_- in this macro invocation | = note: the link appears in this line: [syntax tree enum]: Expr#syntax-tree-enums ^^^^^^^^^^^^^^^^^^^^^^ = note: no item named `Expr` in scope = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` = note: this warning originates in the macro `ast_enum_of_structs` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unresolved link to `Expr` --> src/macros.rs:49:11 | 49 | $(#[$enum_attr])* $pub $enum $name $body | ^^^^^^^^^^^^^ | ::: src/restriction.rs:4:1 | 4 | / ast_enum! { 5 | | /// The visibility level of an item: inherited or `pub` or 6 | | /// `pub(restricted)`. 7 | | /// ... | 24 | | } 25 | | } | |_- in this macro invocation | = note: the link appears in this line: [syntax tree enum]: Expr#syntax-tree-enums ^^^^^^^^^^^^^^^^^^^^^^ = note: no item named `Expr` in scope = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` = note: this warning originates in the macro `ast_enum` (in Nightly builds, run with -Z macro-backtrace for more info)
- Loading branch information