Skip to content

Commit 782a595

Browse files
Return a DiagnosticBuilder from structured errors
This ensures that `emit_error` will actually cause compilation to fail.
1 parent 20e07e7 commit 782a595

File tree

1 file changed

+64
-75
lines changed
  • compiler/rustc_mir/src/transform/check_consts

1 file changed

+64
-75
lines changed

0 commit comments

Comments
 (0)