diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2013-03-19 10:36:02 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2013-03-20 06:14:53 -0400 |
| commit | 00f97b9fb00160ffce41ea5c27627b4729b43f0f (patch) | |
| tree | 515e53d3f8d9c21b2b4537594e8c3c6631e968e3 /src/libsyntax | |
| parent | db4dc1ffe29045361c34abab8d810d2c717b82e0 (diff) | |
| download | rust-00f97b9fb00160ffce41ea5c27627b4729b43f0f.tar.gz rust-00f97b9fb00160ffce41ea5c27627b4729b43f0f.zip | |
Refactor the self-info so that the def-id is carried in ty_self()
and the fn_ctxt doesn't need any self_info field at all. Step towards fixing `fn(&self)` (cc #4846) to have a distinct lifetime.
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index a2d82bb8ccd..22ec88cd456 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -185,7 +185,7 @@ pub enum def { /* trait */ Option<def_id>, purity), def_self(node_id, bool /* is_implicit */), - def_self_ty(node_id), + def_self_ty(/* trait id */ node_id), def_mod(def_id), def_foreign_mod(def_id), def_const(def_id), |
