summaryrefslogtreecommitdiff
path: root/src/ast/path.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2015-11-03 12:25:42 +1100
committerJohn Hodge <tpg@mutabah.net>2015-11-03 12:25:42 +1100
commit20ee7442f280ced9e5258876f9fd2212797f868b (patch)
tree2bb4fd40727ad0402d6d17a6501d5bab05fb5e48 /src/ast/path.cpp
parent01ec57f596f89d4b52b378975f941e2ed8d2e563 (diff)
downloadmrust-20ee7442f280ced9e5258876f9fd2212797f868b.tar.gz
Remove embedded spans (will move to wrapping spans)
Diffstat (limited to 'src/ast/path.cpp')
-rw-r--r--src/ast/path.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ast/path.cpp b/src/ast/path.cpp
index 8668c386..797bb5b1 100644
--- a/src/ast/path.cpp
+++ b/src/ast/path.cpp
@@ -89,8 +89,7 @@ AST::Path::Path(TagUfcs, TypeRef type, TypeRef trait, ::std::vector<AST::PathNod
}
AST::Path::Path(const Path& x):
m_crate(x.m_crate),
- m_class(),
- m_span(x.m_span)
+ m_class()
//m_binding(x.m_binding)
{
TU_MATCH(Class, (x.m_class), (ent),
@@ -516,7 +515,7 @@ void Path::print_pretty(::std::ostream& os) const
os << "::" << n;
)
)
- os << "/*" << path.m_binding << " [" << path.span().filename << ":" << path.span().start_line << "]*/";
+ os << "/*" << path.m_binding << "*/";
#else
switch(path.m_class)
{