rust/src/libsyntax
bors a48ca3290d auto merge of #7262 : nikomatsakis/rust/ref-bindings-in-irrefut-patterns, r=catamorphism
Correct treatment of irrefutable patterns. The old code was wrong in many, many ways. `ref` bindings didn't work, it sometimes copied when it should have moved, the borrow checker didn't even look at such patterns at all, we weren't consistent about preventing values with destructors from being pulled apart, etc.

Fixes #3224.
Fixes #3225.
Fixes #3255.
Fixes #6225.
Fixes #6386.

r? @catamorphism
2013-07-08 18:49:46 -07:00
..
ext Correct merge errors 2013-07-08 13:55:11 -04:00
parse Correct merge errors 2013-07-08 13:55:11 -04:00
print Correct merge errors 2013-07-08 13:55:11 -04:00
util librustc: Rename Const to Freeze 2013-06-28 10:44:15 -04:00
abi.rs great renaming propagation: syntax 2013-06-25 16:15:07 -04:00
ast.rs De-share ast::Ty 2013-07-07 22:51:10 +12:00
ast_map.rs De-managed ast::Path 2013-07-07 22:51:09 +12:00
ast_util.rs De-share trait_ref 2013-07-07 22:51:09 +12:00
attr.rs remove some method resolve workarounds 2013-07-07 19:51:13 -04:00
codemap.rs Do not rely on newtype enum dereference 2013-07-05 13:03:04 +09:00
diagnostic.rs rustc: add a lint to enforce uppercase statics. 2013-07-01 17:52:57 +10:00
fold.rs Fix broken tests 2013-07-07 22:51:10 +12:00
opt_vec.rs De-manage OptVec<TyParamBounds> 2013-07-07 22:51:10 +12:00
syntax.rs Bump version numbers to 0.8-pre 2013-07-08 10:25:45 -07:00
visit.rs De-share ast::Ty 2013-07-07 22:51:10 +12:00