Make functional-update struct consts not an ICE

This commit is contained in:
Jed Davis 2013-02-24 14:49:01 -08:00
parent f0c6a8ebe9
commit 59daf76a8d

View File

@ -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,