rust/src/librustc_borrowck
Alex Crichton 753efb5042 rollup merge of #23601: nikomatsakis/by-value-index
This is a [breaking-change]. When indexing a generic map (hashmap, etc) using the `[]` operator, it is now necessary to borrow explicitly, so change `map[key]` to `map[&key]` (consistent with the `get` routine). However, indexing of string-valued maps with constant strings can now be written `map["abc"]`.

r? @japaric
cc @aturon @Gankro
2015-03-23 15:10:50 -07:00
..
borrowck Fallout in stdlib, rustdoc, rustc, etc. For most maps, converted uses of 2015-03-23 16:55:45 -04:00
graphviz.rs Distinguish between AST and various Dummy nodes in CFG. 2015-02-22 12:01:58 +01:00
lib.rs Add generic conversion traits 2015-03-23 15:01:45 -07:00