Check rustc_middle docs for method return type #80287
Labels
A-contributor-roadblock
Area: Makes things more difficult for new contributors to rust itself
C-bug
Category: This is a bug.
Looking at the following method:
rust/compiler/rustc_middle/src/middle/region.rs
Lines 451 to 457 in 9310aff
Are the docs here correct that this "returns
Some((span, expr_count))
"? From the code, it looks like the Some case returns aSome(YieldData)
. Looks like the docs should be updated to reflect theYieldData
type.The text was updated successfully, but these errors were encountered: