rust/src/test
Mazdak Farrokhzad 0b63f5530b
Rollup merge of #60697 - hellow554:fix_60629, r=michaelwoerister
add regression test for #60629

This bug was fixed, but I don't know which one. (I think it even doesn't matter at all).

Added a regression test.

```
op@OP ~/m/r/s/t/incremental> rustc --version
rustc 1.35.0-nightly (acd8dd6a5 2019-04-05)
op@OP ~/m/r/s/t/incremental> rustc -C incremental= --cfg rpass1 issue-60629.rs
warning: struct is never constructed: `A`
 --> issue-60629.rs:3:1
  |
3 | struct A;
  | ^^^^^^^^^
  |
  = note: #[warn(dead_code)] on by default

op@OP ~/m/r/s/t/incremental> rustc -C incremental= --cfg rpass2 issue-60629.rs
error: internal compiler error: src/librustc/ty/query/plumbing.rs:1195: Cannot force dep node: coherent_trait(core[c27c]::ops[0]::drop[0]::Drop[0])

thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:635:9
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
error: aborting due to previous error

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: rustc 1.35.0-nightly (acd8dd6a5 2019-04-05) running on x86_64-unknown-linux-gnu

note: compiler flags: -C incremental
```

with latest nightly it does not crash anymore, so nothing more to do.

Fixes #60629

(accidentally removed the remote branch on github, therefore GH closed the other PR.)

r? @nikomatsakis
2019-05-10 20:31:11 +02:00
..
assembly Remove double trailing newlines 2019-04-22 16:57:01 +01:00
auxiliary
codegen choose a more specific LLVM target on OS X when necessary 2019-05-07 11:09:39 -04:00
codegen-units Remove unnecessary ignore-tidy-linelength 2019-04-23 11:42:14 +01:00
compile-fail Stabilize futures_api 2019-04-23 16:13:53 -07:00
debuginfo Address review comments 2019-05-03 19:25:35 -07:00
incremental add regression test for #60629 2019-05-10 12:59:40 +02:00
mir-opt Rollup merge of #59348 - matthewjasper:cleanup-drop-shims, r=arielb1 2019-05-09 23:56:08 +02:00
pretty rustc: pass Option<&Substs> and Namespace around in ty::item_path. 2019-03-15 13:25:10 +02:00
run-fail Remove double trailing newlines 2019-04-22 16:57:01 +01:00
run-make Move run-make test to run-make-fulldeps 2019-05-05 10:45:10 +01:00
run-make-fulldeps Move run-make test to run-make-fulldeps 2019-05-05 10:45:10 +01:00
run-pass Rollup merge of #60572 - tmandry:issue-59972, r=RalfJung,oli-obk 2019-05-09 00:58:26 +02:00
run-pass-fulldeps Use sysroot libserialize in newtype_index test 2019-04-21 15:58:06 +02:00
run-pass-valgrind
rustdoc use span instead of div for since version 2019-05-03 12:55:31 -04:00
rustdoc-js Auto merge of #59910 - Centril:rollup-yjv7b06, r=Centril 2019-04-12 11:46:01 +00:00
rustdoc-js-std Rename rustdoc js test suites 2019-02-25 17:46:06 +01:00
rustdoc-ui Rollup merge of #60220 - euclio:rustdoc-test-fatal-parsing-errors, r=QuietMisdreavus 2019-05-03 16:24:54 +02:00
rustfix
ui Rollup merge of #60692 - davidtwco:pr-60676-followup, r=Centril 2019-05-10 20:31:10 +02:00
ui-fulldeps Update *.stderr files 2019-04-28 21:19:26 +02:00
COMPILER_TESTS.md