Created
July 7, 2013 05:20
-
-
Save glinscott/5942408 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
use std::str; | |
pub struct S2<'self> { | |
priv iter: std::str::StrCharIterator<'self>, | |
} |
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
use std::str; | |
mod bug; | |
pub struct S1<'self> { | |
priv iter: std::str::StrCharIterator<'self>, | |
} | |
fn main() { | |
let s = S1 { | |
iter: "".iter() | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Output from "rust build -O main.rs"