rust_2021_incompatible_closure_captures suggestion expands macro #87955
Labels
A-closures
Area: Closures (`|…| { … }`)
D-edition
Diagnostics: An error or lint that should account for edition differences.
D-invalid-suggestion
Diagnostics: A structured suggestion resulting in incorrect code.
produces:
It expanded the
dbg!()
macro. This only happens when the macro invocation is the entire body of the closure.The text was updated successfully, but these errors were encountered: