Skip to content

Instantly share code, notes, and snippets.

@brson
Created February 26, 2013 21:05
Show Gist options
  • Save brson/5042195 to your computer and use it in GitHub Desktop.
Save brson/5042195 to your computer and use it in GitHub Desktop.
/home/brian/dev/rust/src/test/run-pass/newrt_sched.rs:157:45: 157:62 error: loan of mutable field as immutable conflicts with prior loan
/home/brian/dev/rust/src/test/run-pass/newrt_sched.rs:157 let last_job: &mut CleanupJob = &mut self.cleanup_jobs[0];
^~~~~~~~~~~~~~~~~
/home/brian/dev/rust/src/test/run-pass/newrt_sched.rs:153:32: 153:49 note: prior loan as mutable granted here
/home/brian/dev/rust/src/test/run-pass/newrt_sched.rs:153 let cleanup_jobs = &mut self.cleanup_jobs;
^~~~~~~~~~~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment