Self-referential generators violate LLVM's expectations for noalias due to the overlapping bounds of the interior references and the &mut self argument to the Generator::resume function.
Original issue description: async/await is possibly unsound -- I don't consider myself an authority here, so feel free to edit this top post with relevant information.
Current discussion happened in #63209
Self-referential generators violate LLVM's expectations for
noaliasdue to the overlapping bounds of the interior references and the&mut selfargument to theGenerator::resumefunction.Original issue description: async/await is possibly unsound -- I don't consider myself an authority here, so feel free to edit this top post with relevant information.
Current discussion happened in #63209