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
error[E0432]: unresolved import `syntax::ast::ViewPath_`
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:95:22
|
95 | use syntax::ast::ViewPath_::*;
| ^^^^^^^^^ Could not find `ViewPath_` in `ast`
error[E0433]: failed to resolve. Could not find `ViewPath_` in `ast`
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:30:14
|
30 | ast::ViewPath_::ViewPathSimple(_, ref p)
| ^^^^^^^^^ Could not find `ViewPath_` in `ast`
error[E0433]: failed to resolve. Could not find `ViewPath_` in `ast`
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:31:16
|
31 | | ast::ViewPath_::ViewPathGlob(ref p)
| ^^^^^^^^^ Could not find `ViewPath_` in `ast`
error[E0433]: failed to resolve. Could not find `ViewPath_` in `ast`
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:32:16
|
32 | | ast::ViewPath_::ViewPathList(ref p, _) => p,
| ^^^^^^^^^ Could not find `ViewPath_` in `ast`
error[E0433]: failed to resolve. Could not find `ViewPath_` in `ast`
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:152:18
|
152 | ast::ViewPath_::ViewPathList(ref path, ref path_list) => {
| ^^^^^^^^^ Could not find `ViewPath_` in `ast`
error[E0433]: failed to resolve. Could not find `ViewPath_` in `ast`
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:155:18
|
155 | ast::ViewPath_::ViewPathGlob(ref path) => {
| ^^^^^^^^^ Could not find `ViewPath_` in `ast`
error[E0433]: failed to resolve. Could not find `ViewPath_` in `ast`
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:161:18
|
161 | ast::ViewPath_::ViewPathSimple(ident, ref path) => {
| ^^^^^^^^^ Could not find `ViewPath_` in `ast`
error[E0433]: failed to resolve. Could not find `ViewPath_` in `ast`
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:192:18
|
192 | ast::ViewPath_::ViewPathList(_, ref path_list)
| ^^^^^^^^^ Could not find `ViewPath_` in `ast`
error[E0412]: cannot find type `ViewPath_` in module `ast`
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:28:21
|
28 | fn path_of(a: &ast::ViewPath_) -> &ast::Path {
| ^^^^^^^^^ not found in `ast`
error[E0412]: cannot find type `PathListItem` in module `ast`
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:50:37
|
50 | fn compare_path_list_items(a: &ast::PathListItem, b: &ast::PathListItem) -> Ordering {
| ^^^^^^^^^^^^ not found in `ast`
error[E0412]: cannot find type `PathListItem` in module `ast`
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:50:60
|
50 | fn compare_path_list_items(a: &ast::PathListItem, b: &ast::PathListItem) -> Ordering {
| ^^^^^^^^^^^^ not found in `ast`
error[E0412]: cannot find type `PathListItem` in module `ast`
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:78:21
|
78 | a_items: &[ast::PathListItem],
| ^^^^^^^^^^^^ not found in `ast`
error[E0412]: cannot find type `PathListItem` in module `ast`
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:79:21
|
79 | b_items: &[ast::PathListItem],
| ^^^^^^^^^^^^ not found in `ast`
error[E0412]: cannot find type `ViewPath_` in module `ast`
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:94:37
|
94 | fn compare_view_path_types(a: &ast::ViewPath_, b: &ast::ViewPath_) -> Ordering {
| ^^^^^^^^^ not found in `ast`
error[E0412]: cannot find type `ViewPath_` in module `ast`
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:94:57
|
94 | fn compare_view_path_types(a: &ast::ViewPath_, b: &ast::ViewPath_) -> Ordering {
| ^^^^^^^^^ not found in `ast`
error[E0531]: cannot find tuple struct/variant `ViewPathSimple` in this scope
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:97:11
|
97 | (&ViewPathSimple(..), &ViewPathSimple(..)) | (&ViewPathGlob(_), &ViewPathGlob(_)) => {
| ^^^^^^^^^^^^^^ not found in this scope
error[E0531]: cannot find tuple struct/variant `ViewPathSimple` in this scope
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:97:32
|
97 | (&ViewPathSimple(..), &ViewPathSimple(..)) | (&ViewPathGlob(_), &ViewPathGlob(_)) => {
| ^^^^^^^^^^^^^^ not found in this scope
error[E0531]: cannot find tuple struct/variant `ViewPathGlob` in this scope
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:97:56
|
97 | (&ViewPathSimple(..), &ViewPathSimple(..)) | (&ViewPathGlob(_), &ViewPathGlob(_)) => {
| ^^^^^^^^^^^^ not found in this scope
error[E0531]: cannot find tuple struct/variant `ViewPathGlob` in this scope
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:97:74
|
97 | (&ViewPathSimple(..), &ViewPathSimple(..)) | (&ViewPathGlob(_), &ViewPathGlob(_)) => {
| ^^^^^^^^^^^^ not found in this scope
error[E0531]: cannot find tuple struct/variant `ViewPathSimple` in this scope
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:100:11
|
100 | (&ViewPathSimple(..), _) | (&ViewPathGlob(_), &ViewPathList(..)) => Ordering::Less,
| ^^^^^^^^^^^^^^ not found in this scope
error[E0531]: cannot find tuple struct/variant `ViewPathGlob` in this scope
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:100:38
|
100 | (&ViewPathSimple(..), _) | (&ViewPathGlob(_), &ViewPathList(..)) => Ordering::Less,
| ^^^^^^^^^^^^ not found in this scope
error[E0531]: cannot find tuple struct/variant `ViewPathList` in this scope
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:100:56
|
100 | (&ViewPathSimple(..), _) | (&ViewPathGlob(_), &ViewPathList(..)) => Ordering::Less,
| ^^^^^^^^^^^^ not found in this scope
error[E0531]: cannot find tuple struct/variant `ViewPathList` in this scope
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:101:11
|
101 | (&ViewPathList(_, ref a_items), &ViewPathList(_, ref b_items)) => {
| ^^^^^^^^^^^^ not found in this scope
error[E0531]: cannot find tuple struct/variant `ViewPathList` in this scope
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:101:42
|
101 | (&ViewPathList(_, ref a_items), &ViewPathList(_, ref b_items)) => {
| ^^^^^^^^^^^^ not found in this scope
error[E0531]: cannot find tuple struct/variant `ViewPathGlob` in this scope
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:104:11
|
104 | (&ViewPathGlob(_), &ViewPathSimple(..)) | (&ViewPathList(..), _) => Ordering::Greater,
| ^^^^^^^^^^^^ not found in this scope
error[E0531]: cannot find tuple struct/variant `ViewPathSimple` in this scope
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:104:29
|
104 | (&ViewPathGlob(_), &ViewPathSimple(..)) | (&ViewPathList(..), _) => Ordering::Greater,
| ^^^^^^^^^^^^^^ not found in this scope
error[E0531]: cannot find tuple struct/variant `ViewPathList` in this scope
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:104:53
|
104 | (&ViewPathGlob(_), &ViewPathSimple(..)) | (&ViewPathList(..), _) => Ordering::Greater,
| ^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `ViewPath_` in module `ast`
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:108:32
|
108 | fn compare_view_paths(a: &ast::ViewPath_, b: &ast::ViewPath_) -> Ordering {
| ^^^^^^^^^ not found in `ast`
error[E0412]: cannot find type `ViewPath_` in module `ast`
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:108:52
|
108 | fn compare_view_paths(a: &ast::ViewPath_, b: &ast::ViewPath_) -> Ordering {
| ^^^^^^^^^ not found in `ast`
error[E0412]: cannot find type `ViewPath` in module `ast`
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:149:23
|
149 | impl Rewrite for ast::ViewPath {
| ^^^^^^^^ not found in `ast`
error[E0412]: cannot find type `ViewPath` in module `ast`
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:181:15
|
181 | vp: &ast::ViewPath,
| ^^^^^^^^ not found in `ast`
error[E0412]: cannot find type `ViewPath` in module `ast`
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:279:65
|
279 | pub fn format_import(&mut self, item: &ast::Item, vp: &ast::ViewPath) {
| ^^^^^^^^ not found in `ast`
error[E0412]: cannot find type `PathListItem` in module `ast`
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:307:57
|
307 | fn rewrite_single_use_list(path_str: String, vpi: &ast::PathListItem) -> String {
| ^^^^^^^^^^^^ not found in `ast`
error[E0412]: cannot find type `PathListItem` in module `ast`
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:326:34
|
326 | fn rewrite_path_item(vpi: &&ast::PathListItem) -> Option<String> {
| ^^^^^^^^^^^^ not found in `ast`
error[E0412]: cannot find type `PathListItem` in module `ast`
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:330:51
|
330 | fn append_alias(path_item_str: String, vpi: &ast::PathListItem) -> String {
| ^^^^^^^^^^^^ not found in `ast`
error[E0412]: cannot find type `PathListItem` in module `ast`
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:414:23
|
414 | path_list: &[ast::PathListItem],
| ^^^^^^^^^^^^ not found in `ast`
error: non-reference pattern used to match a reference (see issue #42640)
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:30:9
|
30 | ast::ViewPath_::ViewPathSimple(_, ref p)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ast::ViewPath_::ViewPathSimple(_, ref p)`
|
= help: add #![feature(match_default_bindings)] to the crate attributes to enable
error: non-reference pattern used to match a reference (see issue #42640)
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:31:11
|
31 | | ast::ViewPath_::ViewPathGlob(ref p)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ast::ViewPath_::ViewPathGlob(ref p)`
|
= help: add #![feature(match_default_bindings)] to the crate attributes to enable
error: non-reference pattern used to match a reference (see issue #42640)
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:32:11
|
32 | | ast::ViewPath_::ViewPathList(ref p, _) => p,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&ast::ViewPath_::ViewPathList(ref p, _)`
|
= help: add #![feature(match_default_bindings)] to the crate attributes to enable
error[E0609]: no field `node` on type `&syntax::ptr::P<syntax::ast::UseTree>`
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:118:43
|
118 | Some(compare_view_paths(&a_vp.node, &b_vp.node))
| ^^^^
error[E0609]: no field `node` on type `&syntax::ptr::P<syntax::ast::UseTree>`
--> .cargo\registry\src\github.com-1ecc6299db9ec823\rustfmt-nightly-0.2.16\src\imports.rs:118:55
|
118 | Some(compare_view_paths(&a_vp.node, &b_vp.node))
| ^^^^
error: aborting due to 41 previous errors
error: failed to compile `rustfmt-nightly v0.2.16`, intermediate artifacts can be found at `D:\Temp\cargo-install.yUr6KJ6WW61k`
Caused by:
Could not compile `rustfmt-nightly`.
To learn more, run the command again with --verbose.
The text was updated successfully, but these errors were encountered:
Errors
The text was updated successfully, but these errors were encountered: