Skip to content

Instantly share code, notes, and snippets.

@brson
Created February 25, 2013 20:26
Show Gist options
  • Save brson/5032974 to your computer and use it in GitHub Desktop.
Save brson/5032974 to your computer and use it in GitHub Desktop.
/home/brian/dev/rust/src/test/run-pass/newrt_sched.rs:156:18: 156:22 error: loan of dereference of mutable & pointer as mutable conflicts with prior loan
/home/brian/dev/rust/src/test/run-pass/newrt_sched.rs:156 { self.swap_out_task(dead_task) };
^~~~
/home/brian/dev/rust/src/test/run-pass/newrt_sched.rs:155:32: 155:36 note: prior loan as mutable granted here
/home/brian/dev/rust/src/test/run-pass/newrt_sched.rs:155 let dead_task = self.task_from_last_cleanup_job();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment