aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/lex/rust-token.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/lex/rust-token.h')
-rw-r--r--gcc/rust/lex/rust-token.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/lex/rust-token.h b/gcc/rust/lex/rust-token.h
index 3d48610..1783b1e 100644
--- a/gcc/rust/lex/rust-token.h
+++ b/gcc/rust/lex/rust-token.h
@@ -384,7 +384,7 @@ public:
TokenId get_id () const { return token_id; }
// Gets location of the token.
- Location get_locus () const { return locus; }
+ location_t get_locus () const { return locus; }
// Set location of the token.
void set_locus (location_t locus) { this->locus = locus; }