Created
April 30, 2014 14:44
-
-
Save ryantm/974f1c6f7d69df6b8e32 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern crate num; | |
use num::bigint::BigInt; | |
use std::from_str::FromStr; | |
fn main () { | |
println!("{}", BigInt::from_str("1")); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
testing.rs:6:20: 6:36 error: unresolved name `BigInt::from_str`. | |
testing.rs:6 println!("{}", BigInt::from_str("1")); | |
^~~~~~~~~~~~~~~~ | |
note: in expansion of format_args! | |
<std macros>:2:23: 2:77 note: expansion site | |
<std macros>:1:1: 3:2 note: in expansion of println! | |
testing.rs:6:5: 6:43 note: expansion site | |
error: aborting due to previous error |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment