]> git.lizzy.rs Git - rust.git/commit
Trait upcasting support in new solver
authorMichael Goulet <michael@errs.io>
Mon, 23 Jan 2023 23:56:54 +0000 (23:56 +0000)
committerMichael Goulet <michael@errs.io>
Mon, 30 Jan 2023 19:11:01 +0000 (19:11 +0000)
commitc24844048ff023aeaf47080634507677ffbe7001
tree3816ea32f8711c47c1fc41638a67652d2be89a41
parent085a48e7983d2b3b1f6d6fbeb127dd90b2a1377c
Trait upcasting support in new solver
compiler/rustc_trait_selection/src/solve/assembly.rs
compiler/rustc_trait_selection/src/solve/project_goals.rs
compiler/rustc_trait_selection/src/solve/trait_goals.rs
tests/ui/traits/new-solver/upcast-right-substs.rs [new file with mode: 0644]
tests/ui/traits/new-solver/upcast-wrong-substs.rs [new file with mode: 0644]
tests/ui/traits/new-solver/upcast-wrong-substs.stderr [new file with mode: 0644]