diff options
author | SimplyTheOther <simplytheother@gmail.com> | 2020-12-09 14:07:05 +0800 |
---|---|---|
committer | SimplyTheOther <simplytheother@gmail.com> | 2020-12-09 14:07:05 +0800 |
commit | 815c9e8b0734d45a6e5b5a7d50f38d4af7120a8c (patch) | |
tree | 095183f5b0439a374798c427ca9110bbc3b05dc6 /gcc | |
parent | 0e5d54bcb0d9e540fdf063b8602610ec4cc9e155 (diff) | |
download | gcc-815c9e8b0734d45a6e5b5a7d50f38d4af7120a8c.zip gcc-815c9e8b0734d45a6e5b5a7d50f38d4af7120a8c.tar.gz gcc-815c9e8b0734d45a6e5b5a7d50f38d4af7120a8c.tar.bz2 |
Fixed rust-type-resolution.cc compile error
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/rust/analysis/rust-type-resolution.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/analysis/rust-type-resolution.cc b/gcc/rust/analysis/rust-type-resolution.cc index 2c720c6..3e2db7f 100644 --- a/gcc/rust/analysis/rust-type-resolution.cc +++ b/gcc/rust/analysis/rust-type-resolution.cc @@ -1046,7 +1046,7 @@ TypeResolution::visit (AST::LetStmt &stmt) } else if (stmt.has_type () && !stmt.has_init_expr ()) { - inferedType = stmt.type.get (); + inferedType = stmt.get_type ().get (); } // TODO check we know what the type is in the scope requires the builtins to |