Skip to content

Commit cf71a8a

Browse files
committed
---
yaml --- r: 167394 b: refs/heads/snap-stage3 c: adca15a h: refs/heads/master v: v3
1 parent dfdb335 commit cf71a8a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 023dfb0c898d851dee6ace2f8339b73b5287136b
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 7836c72ebae3124443fd4009b65eb2cc4cc6cf38
4+
refs/heads/snap-stage3: adca15a151422a72d69c39ade946f36a2ff072a6
55
refs/heads/try: 5204084bd2e46af7cc6e0147430e44dd0d657bbb
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/src/librustc/middle/def.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ pub enum Def {
3636
// A partially resolved path to an associated type `T::U` where `T` is a concrete
3737
// type (indicated by the DefId) which implements a trait which has an associated
3838
// type `U` (indicated by the Ident).
39+
// FIXME(#20301) -- should use Name
3940
DefAssociatedPath(TyParamProvenance, ast::Ident),
4041
DefTrait(ast::DefId),
4142
DefPrimTy(ast::PrimTy),

branches/snap-stage3/src/librustc_typeck/astconv.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ fn qpath_to_ty<'tcx,AC,RS>(this: &AC,
992992

993993
return this.projected_ty(ast_ty.span,
994994
trait_ref,
995-
qpath.item_name.name); // TODO change qpath to use name
995+
qpath.item_name.name);
996996
}
997997

998998
// Parses the programmer's textual representation of a type into our
@@ -1155,7 +1155,6 @@ pub fn ast_ty_to_ty<'tcx, AC: AstConv<'tcx>, RS: RegionScope>(
11551155
this.tcx().types.err
11561156
}
11571157
def::DefAssociatedPath(provenance, assoc_ident) => {
1158-
// TODO update DefAssociatedPath to use name
11591158
associated_path_def_to_ty(this, ast_ty, provenance, assoc_ident.name)
11601159
}
11611160
_ => {

branches/snap-stage3/src/libsyntax/ast.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ pub enum Expr_ {
764764
pub struct QPath {
765765
pub self_type: P<Ty>,
766766
pub trait_ref: P<TraitRef>,
767-
pub item_name: Ident,
767+
pub item_name: Ident, // FIXME(#20301) -- should use Name
768768
}
769769

770770
#[deriving(Clone, PartialEq, Eq, RustcEncodable, RustcDecodable, Hash, Show, Copy)]

0 commit comments

Comments
 (0)