]> git.lizzy.rs Git - rust.git/commit
Auto merge of #33859 - nrc:save-field-sub, r=pnkfelix
authorbors <bors@rust-lang.org>
Sun, 29 May 2016 18:23:00 +0000 (11:23 -0700)
committerbors <bors@rust-lang.org>
Sun, 29 May 2016 18:23:00 +0000 (11:23 -0700)
commita2a8694128e738d194b33aa10698e6cf2e225879
tree82ad2e7973f5fdc47a1e5136f67cd99f9c2bd98e
parent8f3e8c7863b5af9c85f13ec546d7897359acd32f
parentc8ee3f20823251b6141f3046593526c5bb218da3
Auto merge of #33859 - nrc:save-field-sub, r=pnkfelix

save-analysis: be a bit more defensive with field sub-expressions

Prevents an ice with `(...).f` since the sub-expression is in the AST but not the HIR.

We could actually do better in this specific case, but it doesn't seem worth it.
src/librustc_save_analysis/lib.rs