Skip to content

Instantly share code, notes, and snippets.

@m4rw3r
Created September 7, 2015 12:05
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 m4rw3r/e2cc5196c662ccdab02b to your computer and use it in GitHub Desktop.
Save m4rw3r/e2cc5196c662ccdab02b to your computer and use it in GitHub Desktop.
make check-stage2-ctest when removing if !data.has_escaping_regions() in librustc/middle/traits/project.rs::AssociatedTypeNormalizer::fold_ty
failures:
---- [compile-fail] compile-fail/associated-types-outlives.rs stdout ----
error: expected error on line 32 not found: cannot move out of `x` because it is borrowed
status: exit code: 101
command: x86_64-apple-darwin/stage2/bin/rustc /Users/m4rw3r/Projects/Clones/rust/src/test/compile-fail/associated-types-outlives.rs -L x86_64-apple-darwin/test/compile-fail/ --target=x86_64-apple-darwin -L x86_64-apple-darwin/test/compile-fail/associated-types-outlives.stage2-x86_64-apple-darwin.compile-fail.libaux -C prefer-dynamic -o x86_64-apple-darwin/test/compile-fail/associated-types-outlives.stage2-x86_64-apple-darwin --cfg rtopt -O -L x86_64-apple-darwin/rt
stdout:
------------------------------------------
thread 'rustc' panicked at 'assertion failed: !self.has_escaping_regions()', src/librustc/middle/ty.rs:2624
------------------------------------------
stderr:
------------------------------------------
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: run with `RUST_BACKTRACE=1` for a backtrace
------------------------------------------
thread '[compile-fail] compile-fail/associated-types-outlives.rs' panicked at 'explicit panic', /Users/m4rw3r/Projects/Clones/rust/src/compiletest/runtest.rs:1501
---- [compile-fail] compile-fail/associated-types-project-from-hrtb-in-fn-body.rs stdout ----
error: expected error on line 32 not found: cannot infer
status: exit code: 101
command: x86_64-apple-darwin/stage2/bin/rustc /Users/m4rw3r/Projects/Clones/rust/src/test/compile-fail/associated-types-project-from-hrtb-in-fn-body.rs -L x86_64-apple-darwin/test/compile-fail/ --target=x86_64-apple-darwin -L x86_64-apple-darwin/test/compile-fail/associated-types-project-from-hrtb-in-fn-body.stage2-x86_64-apple-darwin.compile-fail.libaux -C prefer-dynamic -o x86_64-apple-darwin/test/compile-fail/associated-types-project-from-hrtb-in-fn-body.stage2-x86_64-apple-darwin --cfg rtopt -O -L x86_64-apple-darwin/rt
stdout:
------------------------------------------
thread 'rustc' panicked at 'assertion failed: !self.has_escaping_regions()', src/librustc/middle/ty.rs:2624
------------------------------------------
stderr:
------------------------------------------
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: run with `RUST_BACKTRACE=1` for a backtrace
------------------------------------------
thread '[compile-fail] compile-fail/associated-types-project-from-hrtb-in-fn-body.rs' panicked at 'explicit panic', /Users/m4rw3r/Projects/Clones/rust/src/compiletest/runtest.rs:1501
---- [compile-fail] compile-fail/regions-implied-bounds-projection-gap-hr-1.rs stdout ----
error: expected error on line 35 not found: reference has a longer lifetime than the data it references
status: exit code: 101
command: x86_64-apple-darwin/stage2/bin/rustc /Users/m4rw3r/Projects/Clones/rust/src/test/compile-fail/regions-implied-bounds-projection-gap-hr-1.rs -L x86_64-apple-darwin/test/compile-fail/ --target=x86_64-apple-darwin -L x86_64-apple-darwin/test/compile-fail/regions-implied-bounds-projection-gap-hr-1.stage2-x86_64-apple-darwin.compile-fail.libaux -C prefer-dynamic -o x86_64-apple-darwin/test/compile-fail/regions-implied-bounds-projection-gap-hr-1.stage2-x86_64-apple-darwin --cfg rtopt -O -L x86_64-apple-darwin/rt
stdout:
------------------------------------------
thread 'rustc' panicked at 'assertion failed: !self.has_escaping_regions()', src/librustc/middle/ty.rs:2624
------------------------------------------
stderr:
------------------------------------------
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: run with `RUST_BACKTRACE=1` for a backtrace
------------------------------------------
thread '[compile-fail] compile-fail/regions-implied-bounds-projection-gap-hr-1.rs' panicked at 'explicit panic', /Users/m4rw3r/Projects/Clones/rust/src/compiletest/runtest.rs:1501
failures:
[compile-fail] compile-fail/associated-types-outlives.rs
[compile-fail] compile-fail/associated-types-project-from-hrtb-in-fn-body.rs
[compile-fail] compile-fail/regions-implied-bounds-projection-gap-hr-1.rs
test result: FAILED. 1905 passed; 3 failed; 12 ignored; 0 measured
thread '<main>' panicked at 'Some tests failed', /Users/m4rw3r/Projects/Clones/rust/src/compiletest/compiletest.rs:248
make: *** [tmp/check-stage2-T-x86_64-apple-darwin-H-x86_64-apple-darwin-cfail.ok] Error 101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment