about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.rs
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2015-01-31 06:33:41 -0500
committerNiko Matsakis <niko@alum.mit.edu>2015-02-01 06:13:06 -0500
commit92f94765ec2202ccda84a7da97c4d415ffb9b070 (patch)
treefaeeb1875e266230d39bb66901227c3a02a8f0f3 /src/test/codegen/stack-alloc-string-slice.rs
parentf5281e2bb56fa9ef4debf04e6141d2ad3650ca61 (diff)
downloadrust-92f94765ec2202ccda84a7da97c4d415ffb9b070.tar.gz
rust-92f94765ec2202ccda84a7da97c4d415ffb9b070.zip
Adjust the handling of trait obligations and defaults to account for
upvar inference.  Upvar inference can cause some obligations to be
deferred, notably things like `F : Sized` where `F` is a closure type,
or `F : FnMut`. Adjust the ordering therefore so that we process all
traits and apply fallback, do upvar inference, and only then start
reporting errors for outstanding obligations.
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.rs')
0 files changed, 0 insertions, 0 deletions