diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2023-07-10 15:56:31 -0400 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2023-07-18 09:08:16 +0000 |
commit | 0e7f04ad269afa1c08cfc76230aa10e99707e4dd (patch) | |
tree | 1ded10878d2dd431f4cd58a757d83fa8fd949650 /gcc/rust/resolve | |
parent | 9cf8b77a3ef0ffcea40d13295938f7bda91985f9 (diff) | |
download | gcc-0e7f04ad269afa1c08cfc76230aa10e99707e4dd.zip gcc-0e7f04ad269afa1c08cfc76230aa10e99707e4dd.tar.gz gcc-0e7f04ad269afa1c08cfc76230aa10e99707e4dd.tar.bz2 |
Replace some more usages of Location with location_t
gcc/rust/ChangeLog:
* ast/rust-ast.h: Replace Location with location_t.
* ast/rust-expr.h: Likewise.
* ast/rust-item.h: Likewise.
* ast/rust-macro.h: Likewise.
* ast/rust-path.h: Likewise.
* ast/rust-pattern.h: Likewise.
* ast/rust-stmt.h: Likewise.
* ast/rust-type.h: Likewise.
* hir/rust-ast-lower-base.h: Likewise.
* hir/tree/rust-hir-expr.h: Likewise.
* hir/tree/rust-hir-item.h: Likewise.
* hir/tree/rust-hir-path.h: Likewise.
* hir/tree/rust-hir-pattern.h: Likewise.
* hir/tree/rust-hir-stmt.h: Likewise.
* hir/tree/rust-hir-type.h: Likewise.
* hir/tree/rust-hir.h: Likewise.
* lex/rust-token.h: Likewise.
* resolve/rust-ast-resolve-pattern.h: Likewise.
* typecheck/rust-hir-trait-reference.h: Likewise.
* typecheck/rust-tyty-bounds.h: Likewise.
* typecheck/rust-tyty-call.h: Likewise.
* typecheck/rust-tyty-subst.h: Likewise.
* typecheck/rust-tyty-util.h: Likewise.
* typecheck/rust-tyty.h: Likewise.
Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/rust/resolve')
-rw-r--r-- | gcc/rust/resolve/rust-ast-resolve-pattern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/resolve/rust-ast-resolve-pattern.h b/gcc/rust/resolve/rust-ast-resolve-pattern.h index 1eb95ab..d1e81cf 100644 --- a/gcc/rust/resolve/rust-ast-resolve-pattern.h +++ b/gcc/rust/resolve/rust-ast-resolve-pattern.h @@ -64,7 +64,7 @@ public: BindingTypeInfo (){}; - Location get_locus () const { return locus; } + location_t get_locus () const { return locus; } Mutability get_mut () const { return mut; } bool get_is_ref () const { return is_ref; } |