about summary refs log tree commit diff
path: root/src/test/ui/impl-trait/closure-calling-parent-fn.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-12/+0
2019-09-08Update test stderr with results of enabling unused lintsMark Rousskov-1/+1
2019-05-12Remove feature(nll) when compare mode is sufficientMatthew Jasper-2/+0
2018-09-26use the closure def-id in returns, but closure-base def-id in localsNiko Matsakis-0/+14
Using the `closure_base_def_id` indiscriminantely, as we were doing before, winds up "going wrong" if the closure type includes the `impl Trait` from the parent. The problem arises because the return value for closures is inferred and meant to treat the return type *opaquely*, so we don't want to be "desugaring" it into the underlying type.