about summary refs log tree commit diff
path: root/src/test/incremental
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2021-08-27 17:34:48 -0500
committerAaron Hill <aa1ronham@gmail.com>2021-09-02 11:49:32 -0500
commit611191f54c563587a9130b8cb4afba1856aebebc (patch)
treea73f50f15f95da1e840cac2bf931ce7ac254b4a0 /src/test/incremental
parentf2d9ee9c342104880dd978e85260243d2dcedc9a (diff)
Report cycle error using 'deepest' obligation in the cycle
Diffstat (limited to 'src/test/incremental')
-rw-r--r--src/test/incremental/const-generics/hash-tyvid-regression-1.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/incremental/const-generics/hash-tyvid-regression-1.rs b/src/test/incremental/const-generics/hash-tyvid-regression-1.rs
index b5a0108a0a3..5ff7b19d894 100644
--- a/src/test/incremental/const-generics/hash-tyvid-regression-1.rs
+++ b/src/test/incremental/const-generics/hash-tyvid-regression-1.rs
@@ -9,7 +9,8 @@ where
     use std::convert::TryFrom;
     <[T; N.get()]>::try_from(())
     //~^ error: the trait bound
-    //~^^ error: mismatched types
+    //~| error: the trait bound
+    //~| error: mismatched types
 }
 
 fn main() {}