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
When I try to compile rust-peg with rustc 1.0.0 (a59de37e9 2015-05-13) (built 2015-05-14), it fails with these errors:
/Users/christopherdumas/.cargo/registry/src/github.com-1ecc6299db9ec823/peg-0.3.0/src/translate.rs:255:65: 255:75 error: type `&collections::string::String` does not implement any method in scope named `to_tokens`
/Users/christopherdumas/.cargo/registry/src/github.com-1ecc6299db9ec823/peg-0.3.0/src/translate.rs:255 println!("[PEG_TRACE] Attempting to match rule {} at {}:{}", $rule_name, line, col);
^~~~~~~~~~
note: in expansion of quote_expr!
/Users/christopherdumas/.cargo/registry/src/github.com-1ecc6299db9ec823/peg-0.3.0/src/translate.rs:253:3: 265:5 note: expansion site
/Users/christopherdumas/.cargo/registry/src/github.com-1ecc6299db9ec823/peg-0.3.0/src/translate.rs:261:71: 261:81 error: type `&collections::string::String` does not implement any method in scope named `to_tokens`
/Users/christopherdumas/.cargo/registry/src/github.com-1ecc6299db9ec823/peg-0.3.0/src/translate.rs:261 Matched(_, _) => println!("[PEG_TRACE] Matched rule {} at {}:{}", $rule_name, line, col),
^~~~~~~~~~
note: in expansion of quote_expr!
/Users/christopherdumas/.cargo/registry/src/github.com-1ecc6299db9ec823/peg-0.3.0/src/translate.rs:253:3: 265:5 note: expansion site
/Users/christopherdumas/.cargo/registry/src/github.com-1ecc6299db9ec823/peg-0.3.0/src/translate.rs:262:72: 262:82 error: type `&collections::string::String` does not implement any method in scope named `to_tokens`
/Users/christopherdumas/.cargo/registry/src/github.com-1ecc6299db9ec823/peg-0.3.0/src/translate.rs:262 Failed => println!("[PEG_TRACE] Failed to match rule {} at {}:{}", $rule_name, line, col)
^~~~~~~~~~
note: in expansion of quote_expr!
/Users/christopherdumas/.cargo/registry/src/github.com-1ecc6299db9ec823/peg-0.3.0/src/translate.rs:253:3: 265:5 note: expansion site
/Users/christopherdumas/.cargo/registry/src/github.com-1ecc6299db9ec823/peg-0.3.0/src/rustast.rs:20:11: 20:40 error: type `syntax::parse::ParseSess` does not implement any method in scope named `new`
/Users/christopherdumas/.cargo/registry/src/github.com-1ecc6299db9ec823/peg-0.3.0/src/rustast.rs:20 let ps = syntax::parse::ParseSess::new();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/christopherdumas/.cargo/registry/src/github.com-1ecc6299db9ec823/peg-0.3.0/src/rustast.rs:32:11: 32:40 error: type `syntax::parse::ParseSess` does not implement any method in scope named `new`
/Users/christopherdumas/.cargo/registry/src/github.com-1ecc6299db9ec823/peg-0.3.0/src/rustast.rs:32 let ps = syntax::parse::ParseSess::new();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/christopherdumas/.cargo/registry/src/github.com-1ecc6299db9ec823/peg-0.3.0/src/rustast.rs:40:11: 40:40 error: type `syntax::parse::ParseSess` does not implement any method in scope named `new`
/Users/christopherdumas/.cargo/registry/src/github.com-1ecc6299db9ec823/peg-0.3.0/src/rustast.rs:40 let ps = syntax::parse::ParseSess::new();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: aborting due to 6 previous errors
Could not compile `peg`.
The text was updated successfully, but these errors were encountered:
When I try to compile rust-peg with rustc 1.0.0 (a59de37e9 2015-05-13) (built 2015-05-14), it fails with these errors:
The text was updated successfully, but these errors were encountered: