Commit fccde89
gccrs: replace unreachable with sorry_at
Do not throw an ICE whit unimplemented `box`.
gcc/rust/ChangeLog:
* hir/rust-ast-lower-expr.cc (ASTLoweringExpr::visit): Replace
unreachable with sorry_at.
Signed-off-by: lenny.chiadmi-delage <[email protected]>1 parent b625de4 commit fccde89
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
196 | | - | |
| 195 | + | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
0 commit comments