Closed
Description
> pkg query %v rust-nightly
1.3.0.20150729
> rustc --version
rustc 1.3.0-nightly
> cargo --version
cargo 0.4.0 (built 2015-07-28)
> cargo build --release
Compiling clippy v0.0.6 (https://github.com/Manishearth/rust-clippy#0e8e8cfc)
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/types.rs:28:85: 28:93 error: no method named `as_str` found for type `syntax::ast::Ident` in the current scope
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/types.rs:28 if seg.iter().rev().zip(segments.iter().rev()).all(|(a,b)| a.identifier.as_str() == *b) {
^~~~~~~~
note: in expansion of closure expansion
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/types.rs:28:64: 28:99 note: expansion site
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/misc.rs:73:32: 73:40 error: no method named `as_str` found for type `syntax::ast::Ident` in the current scope
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/misc.rs:73 if method.node.as_str() == "to_string"
^~~~~~~~
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/misc.rs:138:51: 138:59 error: no method named `as_str` found for type `syntax::ast::Ident` in the current scope
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/misc.rs:138 path.segments.last().map(|seg| if seg.identifier.as_str() == "NAN" {
^~~~~~~~
note: in expansion of closure expansion
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/misc.rs:138:27: 140:3 note: expansion site
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/misc.rs:241:21: 241:29 error: no method named `as_str` found for type `&syntax::ast::Ident` in the current scope
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/misc.rs:241 let name = ident.as_str();
^~~~~~~~
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/len_zero.rs:64:18: 64:26 error: no method named `as_str` found for type `syntax::ast::Ident` in the current scope
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/len_zero.rs:64 item.ident.as_str()));
^~~~~~~~
note: in expansion of format_args!
<std macros>:2:26: 2:57 note: expansion site
<std macros>:1:1: 2:61 note: in expansion of format!
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/len_zero.rs:62:7: 64:27 note: expansion site
note: in expansion of for loop expansion
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/len_zero.rs:59:3: 66:4 note: expansion site
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/len_zero.rs:53:14: 53:22 error: no method named `as_str` found for type `syntax::ast::Ident` in the current scope
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/len_zero.rs:53 item.ident.as_str() == name && if let MethodTraitItem(ref sig, _) =
^~~~~~~~
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/len_zero.rs:84:18: 84:26 error: no method named `as_str` found for type `syntax::ast::Ident` in the current scope
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/len_zero.rs:84 item.ident.as_str()));
^~~~~~~~
note: in expansion of format_args!
<std macros>:2:26: 2:57 note: expansion site
<std macros>:1:1: 2:61 note: in expansion of format!
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/len_zero.rs:82:7: 84:27 note: expansion site
note: in expansion of for loop expansion
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/len_zero.rs:77:3: 87:4 note: expansion site
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/len_zero.rs:72:14: 72:22 error: no method named `as_str` found for type `syntax::ast::Ident` in the current scope
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/len_zero.rs:72 item.ident.as_str() == name && if let MethodImplItem(ref sig, _) =
^~~~~~~~
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/len_zero.rs:109:18: 109:26 error: no method named `as_str` found for type `syntax::ast::Ident` in the current scope
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/len_zero.rs:109 if method.node.as_str() == "len" && args.len() == 1 &&
^~~~~~~~
note: in expansion of if let expansion
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/len_zero.rs:108:2: 115:3 note: expansion site
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/attrs.rs:106:12: 106:20 error: no method named `as_str` found for type `&syntax::ast::Ident` in the current scope
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/attrs.rs:106 ident.as_str()));
^~~~~~~~
note: in expansion of format_args!
<std macros>:2:26: 2:57 note: expansion site
<std macros>:1:1: 2:61 note: in expansion of format!
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/attrs.rs:103:46: 106:21 note: expansion site
note: in expansion of if let expansion
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/attrs.rs:101:4: 107:5 note: expansion site
note: in expansion of if let expansion
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/attrs.rs:99:3: 108:4 note: expansion site
note: in expansion of for loop expansion
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/attrs.rs:98:2: 109:3 note: expansion site
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/utils.rs:44:24: 44:32 error: no method named `as_str` found for type `syntax::ast::Ident` in the current scope
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/utils.rs:44 |(a,b)| a.identifier.as_str() == *b)
^~~~~~~~
note: in expansion of closure expansion
/home/jashank/.cargo/git/checkouts/rust-clippy-297222992dcb0086/master/src/utils.rs:44:3: 44:38 note: expansion site
error: aborting due to 11 previous errors
Could not compile `clippy`.
looks like rust-lang/rust#27234 got us.
Metadata
Metadata
Assignees
Labels
No labels