Skip to content

Instantly share code, notes, and snippets.

@pnkfelix
Created January 14, 2015 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pnkfelix/162eaab4433a434758b8 to your computer and use it in GitHub Desktop.
Save pnkfelix/162eaab4433a434758b8 to your computer and use it in GitHub Desktop.
% CFG_LLVM_LINKAGE_FILE=/Users/fklock/Dev/Mozilla/rust-drop-lts-chkdtors/objdir-dbgopt/x86_64-apple-darwin/rt/llvmdeps.rs DYLD_LIBRARY_PATH=/Users/fklock/Dev/Mozilla/rust-drop-lts-chkdtors/objdir-dbgopt/x86_64-apple-darwin/stage1/lib:$DYLD_LIBRARY_PATH x86_64-apple-darwin/stage1/bin/rustc --cfg stage1 -O --cfg rtopt --cfg debug -C prefer-dynamic --target=x86_64-apple-darwin -D warnings -L "x86_64-apple-darwin/rt" -L "/Users/fklock/Dev/Mozilla/rust-drop-lts-chkdtors/objdir-dbgopt/x86_64-apple-darwin/llvm/Release+Asserts/lib" -L "" --out-dir /tmp/x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib -C extra-filename=-4e7c5e5c /Users/fklock/Dev/Mozilla/rust.git/src/librustc/lib.rs
/Users/fklock/Dev/Mozilla/rust.git/src/librustc/middle/infer/error_reporting.rs:866:65: 866:75 error: `life_giver` does not live long enough
/Users/fklock/Dev/Mozilla/rust.git/src/librustc/middle/infer/error_reporting.rs:866 generics, same_regions, &life_giver);
^~~~~~~~~~
/Users/fklock/Dev/Mozilla/rust.git/src/librustc/middle/infer/error_reporting.rs:817:61: 870:6 note: reference must be valid for the block at 817:60...
/Users/fklock/Dev/Mozilla/rust.git/src/librustc/middle/infer/error_reporting.rs:817 fn give_suggestion(&self, same_regions: &[SameRegions]) {
/Users/fklock/Dev/Mozilla/rust.git/src/librustc/middle/infer/error_reporting.rs:818 let scope_id = same_regions[0].scope_id;
/Users/fklock/Dev/Mozilla/rust.git/src/librustc/middle/infer/error_reporting.rs:819 let parent = self.tcx.map.get_parent(scope_id);
/Users/fklock/Dev/Mozilla/rust.git/src/librustc/middle/infer/error_reporting.rs:820 let parent_node = self.tcx.map.find(parent);
/Users/fklock/Dev/Mozilla/rust.git/src/librustc/middle/infer/error_reporting.rs:821 let node_inner = match parent_node {
/Users/fklock/Dev/Mozilla/rust.git/src/librustc/middle/infer/error_reporting.rs:822 Some(ref node) => match *node {
...
/Users/fklock/Dev/Mozilla/rust.git/src/librustc/middle/infer/error_reporting.rs:817:61: 870:6 note: ...but borrowed value is only valid for the block at 817:60
/Users/fklock/Dev/Mozilla/rust.git/src/librustc/middle/infer/error_reporting.rs:817 fn give_suggestion(&self, same_regions: &[SameRegions]) {
/Users/fklock/Dev/Mozilla/rust.git/src/librustc/middle/infer/error_reporting.rs:818 let scope_id = same_regions[0].scope_id;
/Users/fklock/Dev/Mozilla/rust.git/src/librustc/middle/infer/error_reporting.rs:819 let parent = self.tcx.map.get_parent(scope_id);
/Users/fklock/Dev/Mozilla/rust.git/src/librustc/middle/infer/error_reporting.rs:820 let parent_node = self.tcx.map.find(parent);
/Users/fklock/Dev/Mozilla/rust.git/src/librustc/middle/infer/error_reporting.rs:821 let node_inner = match parent_node {
/Users/fklock/Dev/Mozilla/rust.git/src/librustc/middle/infer/error_reporting.rs:822 Some(ref node) => match *node {
...
error: aborting due to previous error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment