Closed

Description
Compiler version:
rustc 1.27.0-nightly (eeea94c11 2018-04-06)
Errors:
error[E0609]: no field `identifier` on type `&syntax::ast::PathSegment`
--> clippy_lints/src/utils/mod.rs:240:25
|
240 | .all(|(a, b)| a.identifier.name == *b)
| ^^^^^^^^^^
error[E0599]: no method named `name` found for type `&syntax::ast::MetaItem` in the current scope
--> clippy_lints/src/utils/conf.rs:16:16
|
16 | if arg.name() == "conf_file" {
| ^^^^
error[E0609]: no field `name` on type `&syntax::ast::MetaItem`
--> clippy_lints/src/utils/author.rs:474:65
|
474 | ast::NestedMetaItemKind::MetaItem(ref it) => it.name == "author",
| ^^^^
error[E0599]: no method named `name` found for type `&syntax::ast::MetaItem` in the current scope
--> clippy_lints/src/attrs.rs:135:27
|
135 | if mi.name() == "since";
| ^^^^
error[E0599]: no method named `name` found for type `&syntax::ast::MetaItem` in the current scope
--> clippy_lints/src/attrs.rs:331:28
|
331 | mi.is_word() && mi.name() == expected
| ^^^^
error[E0609]: no field `span` on type `syntax::ast::Lifetime`
--> clippy_lints/src/const_static_lifetime.rs:59:46
|
59 | lifetime.span,
| ^^^^ unknown field
|
= note: available fields are: `id`, `ident`
error[E0609]: no field `name` on type `syntax::ast::Variant_`
--> clippy_lints/src/enum_variants.rs:122:14
|
122 | var.node.name.name.as_str()
| ^^^^ unknown field
|
= note: available fields are: `ident`, `attrs`, `data`, `disr_expr`
error[E0609]: no field `span` on type `&syntax::ast::TyParam`
--> clippy_lints/src/misc_early.rs:198:28
|
198 | ty.span,
| ^^^^
error[E0609]: no field `identifier` on type `&syntax::ast::PathSegment`
--> clippy_lints/src/misc_early.rs:212:18
|
212 | .identifier
| ^^^^^^^^^^
error[E0609]: no field `node` on type `syntax::ast::Ident`
--> clippy_lints/src/misc_early.rs:271:41
|
271 | let arg_name = sp_ident.node.to_string();
| ^^^^ unknown field
|
= note: available fields are: `name`, `span`
error[E0609]: no field `node` on type `syntax::ast::Ident`
--> clippy_lints/src/misc_early.rs:337:33
|
337 | if sp_ident.node == (&path.segments[0]).identifier {
| ^^^^ unknown field
|
= note: available fields are: `name`, `span`
error[E0609]: no field `identifier` on type `&syntax::ast::PathSegment`
--> clippy_lints/src/misc_early.rs:337:61
|
337 | if sp_ident.node == (&path.segments[0]).identifier {
| ^^^^^^^^^^
error[E0609]: no field `node` on type `syntax::ast::Ident`
--> clippy_lints/src/non_expressive_names.rs:107:69
|
107 | PatKind::Ident(_, id, _) => self.check_name(id.span, id.node.name),
| ^^^^ unknown field
|
= note: available fields are: `name`, `span`
error[E0308]: mismatched types
--> clippy_lints/src/returns.rs:115:43
|
115 | if let ast::PatKind::Ident(_, Spanned { node: id, .. }, _) = local.pat.node;
| ^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `syntax::ast::Ident`, found struct `syntax::codemap::Spanned`
|
= note: expected type `syntax::ast::Ident`
found type `syntax::codemap::Spanned<_>`
error[E0609]: no field `identifier` on type `&syntax::ast::PathSegment`
--> clippy_lints/src/unsafe_removed_from_name.rs:52:18
|
52 | .identifier;
| ^^^^^^^^^^
error: aborting due to 15 previous errors
Some errors occurred: E0308, E0599, E0609.
For more information about an error, try `rustc --explain E0308`.
error: Could not compile `clippy_lints`.
Metadata
Metadata
Assignees
Labels
No labels