Discuss Scratch
- CodingGamerHD
-
Scratcher
62 posts
Terminal Snake
Doesn't compile on Ubuntu 16.10. 

src/main.rs:141:17: 141:34 error: the `?` operator is not stable (see issue #31436)
src/main.rs:141 let mut f = File::open(path)?;
^~~~~~~~~~~~~~~~~
src/main.rs:143:5: 143:32 error: the `?` operator is not stable (see issue #31436)
src/main.rs:143 f.read_to_string(&mut buf)?;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/main.rs:148:17: 148:36 error: the `?` operator is not stable (see issue #31436)
src/main.rs:148 let mut f = File::create(path)?;
^~~~~~~~~~~~~~~~~~~
src/main.rs:149:5: 149:30 error: the `?` operator is not stable (see issue #31436)
src/main.rs:149 write!(f, "{:?}", score)?;
^~~~~~~~~~~~~~~~~~~~~~~~~
- BookOwl
-
Scratcher
1000+ posts
Terminal Snake
Doesn't compile on Ubuntu 16.10.Your Rust is too old. You need a Rust >=1.13src/main.rs:141:17: 141:34 error: the `?` operator is not stable (see issue #31436)
src/main.rs:141 let mut f = File::open(path)?;
^~~~~~~~~~~~~~~~~
src/main.rs:143:5: 143:32 error: the `?` operator is not stable (see issue #31436)
src/main.rs:143 f.read_to_string(&mut buf)?;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/main.rs:148:17: 148:36 error: the `?` operator is not stable (see issue #31436)
src/main.rs:148 let mut f = File::create(path)?;
^~~~~~~~~~~~~~~~~~~
src/main.rs:149:5: 149:30 error: the `?` operator is not stable (see issue #31436)
src/main.rs:149 write!(f, "{:?}", score)?;
^~~~~~~~~~~~~~~~~~~~~~~~~
- CodingGamerHD
-
Scratcher
62 posts
Terminal Snake
Turns out the Ubuntu repos are very slow at updating packages. Thanks!Doesn't compile on Ubuntu 16.10.Your Rust is too old. You need a Rust >=1.13src/main.rs:141:17: 141:34 error: the `?` operator is not stable (see issue #31436)
src/main.rs:141 let mut f = File::open(path)?;
^~~~~~~~~~~~~~~~~
src/main.rs:143:5: 143:32 error: the `?` operator is not stable (see issue #31436)
src/main.rs:143 f.read_to_string(&mut buf)?;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/main.rs:148:17: 148:36 error: the `?` operator is not stable (see issue #31436)
src/main.rs:148 let mut f = File::create(path)?;
^~~~~~~~~~~~~~~~~~~
src/main.rs:149:5: 149:30 error: the `?` operator is not stable (see issue #31436)
src/main.rs:149 write!(f, "{:?}", score)?;
^~~~~~~~~~~~~~~~~~~~~~~~~

