summaryrefslogtreecommitdiff
path: root/src/ast/path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/path.cpp')
-rw-r--r--src/ast/path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast/path.cpp b/src/ast/path.cpp
index 16c9c5cc..aff3586d 100644
--- a/src/ast/path.cpp
+++ b/src/ast/path.cpp
@@ -156,7 +156,7 @@ void Path::resolve(const Crate& root_crate)
DEBUG("Found trait");
if( is_last ) {
m_binding_type = TRAIT;
- m_binding.trait = &it->data;
+ m_binding.trait_ = &it->data;
return;
}
else if( is_sec_last ) {