rust/src/libsyntax
bors 60e7317345 auto merge of #17501 : pcwalton/rust/improve-method-lookup-autoderef, r=nikomatsakis
prefer `Deref` over `DerefMut` in all other circumstances.

Because the compiler now prefers `Deref`, this can break code that
looked like:

    let mut foo = bar.borrow_mut();
    (*foo).call_something_that_requires_mutable_self();

Replace this code with:

    let mut foo = bar.baz();
    (&mut *foo).call_something_that_requires_mutable_self();

Closes #12825.

[breaking-change]

r? @nikomatsakis
2014-10-01 07:22:18 +00:00
..
ast_map librustc: Implement associated types behind a feature gate. 2014-09-17 16:38:57 -07:00
diagnostics Allow syntax extensions to return multiple items, closes #16723. 2014-09-19 11:10:54 +02:00
ext Update after the fall out from the syntax::ptr changes 2014-09-30 18:54:03 +02:00
parse auto merge of #17584 : pcwalton/rust/range-patterns-dotdotdot, r=nick29581 2014-10-01 03:17:24 +00:00
print Produce a better error for irrefutable if let patterns 2014-09-30 18:54:02 +02:00
util auto merge of #17223 : retep998/rust/into_string, r=huonw 2014-09-17 01:16:14 +00:00
abi.rs Unify non-snake-case lints and non-uppercase statics lints 2014-08-30 09:10:05 +12:00
ast.rs Produce a better error for irrefutable if let patterns 2014-09-30 18:54:02 +02:00
ast_util.rs librustc: Implement associated types behind a feature gate. 2014-09-17 16:38:57 -07:00
attr.rs librustc: Stop looking in metadata in type contents. 2014-09-30 05:52:08 -07:00
codemap.rs librustc: Fix up mutability in method autoderefs if incorrect, and 2014-09-30 14:38:04 -07:00
config.rs Produce a better error for irrefutable if let patterns 2014-09-30 18:54:02 +02:00
crateid.rs core: Change the argument order on splitn and rsplitn for strs. 2014-08-13 15:27:37 -07:00
diagnostic.rs syntax: use an index in CodeMap instead of Gc for ExpnInfo. 2014-09-18 14:36:18 +03:00
feature_gate.rs Update based on PR feedback 2014-09-30 18:54:03 +02:00
fold.rs Produce a better error for irrefutable if let patterns 2014-09-30 18:54:02 +02:00
lib.rs Keep ExpnId abstract by providing conversions 2014-09-28 09:25:48 -07:00
owned_slice.rs Fallout from renaming 2014-09-16 14:37:48 -07:00
ptr.rs syntax: document the ptr module. 2014-09-14 04:20:36 +03:00
show_span.rs rebasing fixes 2014-09-17 16:53:20 +12:00
std_inject.rs move std_inject to libsyntax 2014-09-17 16:53:20 +12:00
test.rs rollup merge of #17576 : kmcallister/hide-quotes 2014-09-29 08:12:51 -07:00
visit.rs Teach libsyntax about if let 2014-09-30 18:54:02 +02:00