summaryrefslogtreecommitdiffstats
path: root/src/test/incremental/issue-49043.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/incremental/issue-49043.rs')
-rw-r--r--src/test/incremental/issue-49043.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/test/incremental/issue-49043.rs b/src/test/incremental/issue-49043.rs
deleted file mode 100644
index 8d13718b8..000000000
--- a/src/test/incremental/issue-49043.rs
+++ /dev/null
@@ -1,12 +0,0 @@
-// Regression test for hashing involving canonical variables. In this
-// test -- which has an intentional error -- the type of the value
-// being dropped winds up including a type variable. Canonicalization
-// would then produce a `?0` which -- in turn -- triggered an ICE in
-// hashing.
-
-// revisions:cfail1
-
-fn main() {
- println!("Hello, world! {}",*thread_rng().choose(&[0, 1, 2, 3]).unwrap());
- //[cfail1]~^ ERROR cannot find function `thread_rng`
-}