diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2015-01-31 06:33:41 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2015-02-01 06:13:06 -0500 |
| commit | 92f94765ec2202ccda84a7da97c4d415ffb9b070 (patch) | |
| tree | faeeb1875e266230d39bb66901227c3a02a8f0f3 /src/test/codegen | |
| parent | f5281e2bb56fa9ef4debf04e6141d2ad3650ca61 (diff) | |
| download | rust-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')
0 files changed, 0 insertions, 0 deletions
