]> git.lizzy.rs Git - rust.git/commit
Don't resolve type var roots in point_at_expr_source_of_inferred_type
authorMichael Goulet <michael@errs.io>
Sat, 21 Jan 2023 21:54:49 +0000 (21:54 +0000)
committerMichael Goulet <michael@errs.io>
Mon, 23 Jan 2023 17:02:50 +0000 (17:02 +0000)
commitbed3bb53d207c1bf92c26833e8d3d4280550f83e
tree4b566b202437a862ba0ff592926f88518f1f66d0
parentc8e6a9e8b6251bbc8276cb78cabe1998deecbed7
Don't resolve type var roots in point_at_expr_source_of_inferred_type
compiler/rustc_hir_typeck/src/demand.rs
tests/ui/typeck/bad-type-in-vec-push.rs [new file with mode: 0644]
tests/ui/typeck/bad-type-in-vec-push.stderr [new file with mode: 0644]