提交 f4fe9b0a 编写于 作者: O Oliver Scherer

Clarify exclusion comment further

上级 4dc02874
......@@ -982,7 +982,8 @@ fn visit_terminator_kind(&mut self,
// Since the argument is required to be constant,
// we care about constness, not promotability.
// If we checked for promotability, we'd miss out on
// the results of function calls (which are never promoted)
// the results of function calls (which are never promoted
// in runtime code)
// This is not a problem, because the argument explicitly
// requests constness, in contrast to regular promotion
// which happens even without the user requesting it.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册