diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2022-02-17 16:14:01 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2022-02-18 09:08:07 +0100 |
commit | ef06769781a76eaa0de6fb500bebb8473e549f7e (patch) | |
tree | 3665f6165d76dc61daeb881327700f82308e4754 /gcc/rust/resolve/rust-ast-resolve.cc | |
parent | 9e524a7f5a5a7abd7aaf3891ea4eca6f0f84fd36 (diff) | |
download | gcc-ef06769781a76eaa0de6fb500bebb8473e549f7e.zip gcc-ef06769781a76eaa0de6fb500bebb8473e549f7e.tar.gz gcc-ef06769781a76eaa0de6fb500bebb8473e549f7e.tar.bz2 |
path-id: Add location info on path identifier
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve.cc')
-rw-r--r-- | gcc/rust/resolve/rust-ast-resolve.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/resolve/rust-ast-resolve.cc b/gcc/rust/resolve/rust-ast-resolve.cc index 5ac076a..3fb8b41 100644 --- a/gcc/rust/resolve/rust-ast-resolve.cc +++ b/gcc/rust/resolve/rust-ast-resolve.cc @@ -26,7 +26,7 @@ #define MKBUILTIN_TYPE(_X, _R, _TY) \ do \ { \ - AST::PathIdentSegment seg (_X); \ + AST::PathIdentSegment seg (_X, Linemap::predeclared_location ()); \ auto typePath = ::std::unique_ptr<AST::TypePathSegment> ( \ new AST::TypePathSegment (::std::move (seg), false, \ Linemap::predeclared_location ())); \ |