diff options
| author | Michael Goulet <michael@errs.io> | 2024-05-09 11:32:05 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-05-12 12:11:25 -0400 |
| commit | fb298e80c3dcf9d5ed81c9b86dedd40256775c1d (patch) | |
| tree | 2378c9df5e7b7157def5847fc47bf727de57eaba /tests | |
| parent | 5ab6dca6d36e0df83b7ca6ec36b69a4c22e3625e (diff) | |
| download | rust-fb298e80c3dcf9d5ed81c9b86dedd40256775c1d.tar.gz rust-fb298e80c3dcf9d5ed81c9b86dedd40256775c1d.zip | |
Apply nits
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ui/traits/next-solver/typeck/normalize-in-upvar-collection.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/traits/next-solver/typeck/normalize-in-upvar-collection.rs b/tests/ui/traits/next-solver/typeck/normalize-in-upvar-collection.rs index 7e4e466fa4d..6567f275240 100644 --- a/tests/ui/traits/next-solver/typeck/normalize-in-upvar-collection.rs +++ b/tests/ui/traits/next-solver/typeck/normalize-in-upvar-collection.rs @@ -1,6 +1,10 @@ //@ compile-flags: -Znext-solver //@ check-pass +// Fixes a regression in icu_provider_adaptors where we weren't normalizing the +// return type of a function type before performing a `Ty::builtin_deref` call, +// leading to an ICE. + struct Struct { field: i32, } |
