about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-04-17 03:50:30 +0000
committerbors <bors@rust-lang.org>2015-04-17 03:50:30 +0000
commit7fbedc58e3b0e102ece926a7f99041fc3ad3037a (patch)
tree3272679fd3236e2ba8e6d97ea36b83c3e7879e84 /src/test/codegen/stack-alloc-string-slice.rs
parenta52182ffdedaabb3b72a11e8a67a411124ecb9ac (diff)
parentd82f9123b25ac9cf1b4b634f5b60358517d8998d (diff)
downloadrust-7fbedc58e3b0e102ece926a7f99041fc3ad3037a.tar.gz
rust-7fbedc58e3b0e102ece926a7f99041fc3ad3037a.zip
Auto merge of #24422 - pnkfelix:typeck-highlevel-before-bodies, r=nikomatsakis
typeck: Do high-level structural/signature checks before function body checks.

This avoids various ICEs, e.g. premature calls to cat_expr that yield the dreaded "cat_expr Errd" ICE.

However, it also means that some early error feedback is now not provided.  This may be for the best, because the error feedback were were providing in some of those cases were false positives -- it was spurious feedback and a distraction from the real problem.

So it is not 100% clear whether we actually want to put this change in or not.  I think its a net win, but others might disagree.

(Kudos to @arielb1 for suggesting this modification.)
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.rs')
0 files changed, 0 insertions, 0 deletions