Created
August 9, 2018 04:09
-
-
Save memoryruins/14a2aad7fc85d0429ae9e4240ec0dacb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error[E0597]: `*child.raw` does not live long enough | |
--> librustc_codegen_llvm\back\archive.rs:252:70 | |
| | |
252 | Some(child.raw))); | |
| ^^^^^^^^^ borrowed value does not live long enough | |
253 | strings.push(name); | |
254 | } | |
| - `*child.raw` dropped here while still borrowed | |
... | |
299 | members.len() as libc::size_t, | |
| ------- borrow used here in later iteration of loop | |
error[E0597]: `*child.raw` does not live long enough | |
--> librustc_codegen_llvm\back\archive.rs:290:73 | |
| | |
290 | Some(child.raw)); | |
| ^^^^^^^^^ borrowed value does not live long enough | |
... | |
293 | } | |
| - `*child.raw` dropped here while still borrowed | |
... | |
299 | members.len() as libc::size_t, | |
| ------- borrow used here in later iteration of loop | |
error: variable does not need to be mutable | |
--> librustc_codegen_llvm\type_of.rs:92:25 | |
| | |
92 | let mut llty = Type::named_struct(cx, name); | |
| ----^^^^ | |
| | | |
| help: remove this `mut` | |
| | |
= note: `-D unused-mut` implied by `-D warnings` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment