about summary refs log tree commit diff
path: root/src/test/codegen/inline-hint.rs
AgeCommit message (Collapse)AuthorLines
2020-11-17Fix setting inline hint based on `InstanceDef::requires_inline`Tomasz Miąsko-0/+31
For instances where `InstanceDef::requires_inline` is true, an attempt is made to set an inline hint though a call to the `inline` function. The attempt is ineffective, since all attributes will be usually removed by the second call. Fix the issue by applying the attributes only once, with user provided attributes having a priority when provided.