diff options
author | Philip Herron <philip.herron@embecosm.com> | 2021-08-31 12:25:14 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2021-08-31 12:25:14 +0100 |
commit | 5e7108c3582f772c28864bd08934b00dfa3539fd (patch) | |
tree | 6212e832eee66a77665337fc284e8bafd7c7e0f7 /gcc/rust/backend/rust-compile-context.h | |
parent | bd90c95ac738852f270408ad75f31144fb854239 (diff) | |
download | gcc-5e7108c3582f772c28864bd08934b00dfa3539fd.zip gcc-5e7108c3582f772c28864bd08934b00dfa3539fd.tar.gz gcc-5e7108c3582f772c28864bd08934b00dfa3539fd.tar.bz2 |
Placeholder is not a unit-type
Placeholder types are containers for associated types, the code-generation
pass has a check for is_unit on return types for functions so we can inject
void_type_node. This was a false positive for placeholders, placeholders
must resolve to check what their concrete implementation type actually is
for this type of query.
Diffstat (limited to 'gcc/rust/backend/rust-compile-context.h')
0 files changed, 0 insertions, 0 deletions