diff options
| author | bors <bors@rust-lang.org> | 2022-09-03 00:02:41 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-09-03 00:02:41 +0000 |
| commit | 0209485578807b8084127f12d57771300edff87a (patch) | |
| tree | d01e1f984a0d1e2cc1a19d72d5725d9a2516ab78 /src/test/incremental | |
| parent | 8c6ce6b91b172f77c795a74bfeaf74b865146b3f (diff) | |
| parent | eda91d9291a4c728c022a81c72ac24b28a4df830 (diff) | |
Auto merge of #100966 - compiler-errors:revert-remove-deferred-sized-checks, r=pnkfelix
Revert "Remove deferred sized checks" cc: https://github.com/rust-lang/rust/pull/100652#issuecomment-1225798572 I'm okay with reverting this for now, and I will look into the diagnostic regressions. This reverts commit 33212bf7f527798a8cfa2bbb38781742f4ca718a. r? `@pnkfelix` ---- EDIT: This _also_ fixes #101066, a regression in method selection logic/coercion(?) due to the early registering of a `Sized` bound.
Diffstat (limited to 'src/test/incremental')
| -rw-r--r-- | src/test/incremental/const-generics/hash-tyvid-regression-1.rs | 1 |
1 files changed, 1 insertions, 0 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 53358b183cb..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,6 +9,7 @@ where use std::convert::TryFrom; <[T; N.get()]>::try_from(()) //~^ error: the trait bound + //~| error: the trait bound //~| error: mismatched types } |
