Skip to content

Commit 2d588c2

Browse files
committed
---
yaml --- r: 53062 b: refs/heads/dist-snap c: f9d789f h: refs/heads/master v: v3
1 parent 0e3c2d7 commit 2d588c2

File tree

14 files changed

+246
-562
lines changed

14 files changed

+246
-562
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
99
refs/heads/incoming: 44d4d6de762f3f9aae1fedcf454c66b79b3ad58d
10-
refs/heads/dist-snap: 754718c91018ec1623425521f86f105360739444
10+
refs/heads/dist-snap: f9d789fa083220cc9d84cbea94868606600c64a9
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1313
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/doc/rust.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -202,13 +202,7 @@ grammar as double-quoted strings. Other tokens have exact rules given.
202202

203203
### Keywords
204204

205-
The keywords in [crate files](#crate-files) are the following strings:
206-
207-
~~~~~~~~ {.keyword}
208-
mod priv pub use
209-
~~~~~~~~
210-
211-
The keywords in [source files](#source-files) are the following strings:
205+
The keywords are the following strings:
212206

213207
~~~~~~~~ {.keyword}
214208
as assert

branches/dist-snap/src/librustc/middle/ty.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ struct ctxt_ {
262262
needs_drop_cache: HashMap<t, bool>,
263263
needs_unwind_cleanup_cache: HashMap<t, bool>,
264264
mut tc_cache: LinearMap<uint, TypeContents>,
265-
ast_ty_to_ty_cache: HashMap<@ast::Ty, ast_ty_to_ty_cache_entry>,
265+
ast_ty_to_ty_cache: HashMap<node_id, ast_ty_to_ty_cache_entry>,
266266
enum_var_cache: HashMap<def_id, @~[VariantInfo]>,
267267
trait_method_cache: HashMap<def_id, @~[method]>,
268268
ty_param_bounds: HashMap<ast::node_id, param_bounds>,

branches/dist-snap/src/librustc/middle/typeck/astconv.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ pub fn ast_ty_to_ty<AC: AstConv, RS: region_scope Copy Durable>(
277277

278278
let tcx = self.tcx();
279279

280-
match tcx.ast_ty_to_ty_cache.find(&ast_ty) {
280+
match tcx.ast_ty_to_ty_cache.find(&ast_ty.id) {
281281
Some(ty::atttce_resolved(ty)) => return ty,
282282
Some(ty::atttce_unresolved) => {
283283
tcx.sess.span_fatal(ast_ty.span, ~"illegal recursive type; \
@@ -287,7 +287,7 @@ pub fn ast_ty_to_ty<AC: AstConv, RS: region_scope Copy Durable>(
287287
None => { /* go on */ }
288288
}
289289

290-
tcx.ast_ty_to_ty_cache.insert(ast_ty, ty::atttce_unresolved);
290+
tcx.ast_ty_to_ty_cache.insert(ast_ty.id, ty::atttce_unresolved);
291291
let typ = match /*bad*/copy ast_ty.node {
292292
ast::ty_nil => ty::mk_nil(tcx),
293293
ast::ty_bot => ty::mk_bot(tcx),
@@ -409,7 +409,7 @@ pub fn ast_ty_to_ty<AC: AstConv, RS: region_scope Copy Durable>(
409409
}
410410
};
411411

412-
tcx.ast_ty_to_ty_cache.insert(ast_ty, ty::atttce_resolved(typ));
412+
tcx.ast_ty_to_ty_cache.insert(ast_ty.id, ty::atttce_resolved(typ));
413413
return typ;
414414
}
415415

0 commit comments

Comments
 (0)