aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/rust-backend.h')
-rw-r--r--gcc/rust/rust-backend.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/rust/rust-backend.h b/gcc/rust/rust-backend.h
index ad497e4..179bda7 100644
--- a/gcc/rust/rust-backend.h
+++ b/gcc/rust/rust-backend.h
@@ -52,8 +52,7 @@ public:
tree type;
Location location;
- typed_identifier ()
- : name (), type (NULL_TREE), location (Linemap::unknown_location ())
+ typed_identifier () : name (), type (NULL_TREE), location (UNKNOWN_LOCATION)
{}
typed_identifier (const std::string &a_name, tree a_type,