mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
Make functional-update struct consts not an ICE
This commit is contained in:
parent
f0c6a8ebe9
commit
59daf76a8d
@ -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…
Reference in New Issue
Block a user