]> git.lizzy.rs Git - rust.git/commit
Fix #98260, added the test case
authorYan Chen <ychen2@futurewei.com>
Tue, 28 Jun 2022 19:46:42 +0000 (12:46 -0700)
committerYan Chen <ychen2@futurewei.com>
Tue, 28 Jun 2022 22:20:30 +0000 (15:20 -0700)
commitf97326de454583d36fef2efbfeb1ea384b9e9a50
tree88df85562dd5ca82464a895401a6721c30dd6cf2
parent94e93749ab00539a11e90426ea87382c433530a8
Fix #98260, added the test case
compiler/rustc_typeck/src/variance/mod.rs
src/test/ui/typeck/issue-98260.rs [new file with mode: 0644]
src/test/ui/typeck/issue-98260.stderr [new file with mode: 0644]