Skip to content

Require Rust 1.8 #71

Closed
Closed
@jramapuram

Description

@jramapuram

With the error handling push I started seeing errors like this:

src/arith/mod.rs:387:1: 387:55 note: in this expansion of bit_assign_func! (defined in src/arith/mod.rs)
src/arith/mod.rs:376:13: 382:14 error: use of unstable library feature 'op_assign_traits': recently added (see issue #28235)
src/arith/mod.rs:376             fn $fn_name(&mut self, rhs: Array) {
src/arith/mod.rs:377                 let mut idxrs = Indexer::new();
src/arith/mod.rs:378                 idxrs.set_index(&Seq::<f32>::default(), 0, Some(false));
src/arith/mod.rs:379                 idxrs.set_index(&Seq::<f32>::default(), 1, Some(false));
src/arith/mod.rs:380                 let tmp = assign_gen(self as &Array, &idxrs, & $func(self as &Array, &rhs));
src/arith/mod.rs:381                 mem::replace(self, tmp);

Bumping my rust install to 1.8 solved this.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions