diff options
Diffstat (limited to 'src/trans/target.cpp')
| -rw-r--r-- | src/trans/target.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/trans/target.cpp b/src/trans/target.cpp index dccc566d..9a855036 100644 --- a/src/trans/target.cpp +++ b/src/trans/target.cpp @@ -587,6 +587,8 @@ bool Target_GetSizeAndAlignOf(const Span& sp, const StaticTraitResolve& resolve, } ), (Path, + if( te.binding.is_Opaque() ) + return false; const auto* repr = Target_GetTypeRepr(sp, resolve, ty); if( !repr ) { |
