Make functional-update struct consts not an ICE
This commit is contained in:
parent
f0c6a8ebe9
commit
59daf76a8d
1 changed files with 2 additions and 2 deletions
|
|
@ -168,8 +168,8 @@ pub fn check_expr(sess: Session,
|
|||
expr_field(*) |
|
||||
expr_index(*) |
|
||||
expr_tup(*) |
|
||||
expr_struct(*) |
|
||||
expr_rec(*) => { }
|
||||
expr_struct(_, _, None) |
|
||||
expr_rec(_, None) => { }
|
||||
expr_addr_of(*) => {
|
||||
sess.span_err(
|
||||
e.span,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue