Skip to content

Instantly share code, notes, and snippets.

View nebffa's full-sized avatar

Ben Lucato nebffa

View GitHub Profile
The error:
rustc: x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc
/vagrant/rust/src/librustc/metadata/loader.rs:209:32: 281:10 error: closure requires unique access to `self` but `self.filesearch` is already borrowed
/vagrant/rust/src/librustc/metadata/loader.rs:209 self.filesearch.search(|path| {
/vagrant/rust/src/librustc/metadata/loader.rs:210 let file = match path.filename_str() {
/vagrant/rust/src/librustc/metadata/loader.rs:211 None => return FileDoesntMatch,
/vagrant/rust/src/librustc/metadata/loader.rs:212 Some(file) => file,
/vagrant/rust/src/librustc/metadata/loader.rs:213 };
/vagrant/rust/src/librustc/metadata/loader.rs:214 if file.starts_with(rlib_prefix.as_slice()) &&