Warning number 101 (configured as error) /.../fixtures/warning_101_bs_unused_attribute.res:1:1-3 1 │ @as("foo") 2 │ let x = 1 3 │ Unused attribute: @as This attribute has no effect here. For example, some attributes are only meaningful in externals. Warning number 101 (configured as error) /.../fixtures/warning_101_bs_unused_attribute.res:5:3-22 3 │ 4 │ module Hoisted = { 5 │ @res.hoistedFunction 6 │ let make = () => () 7 │ } Unused attribute: @res.hoistedFunction This attribute has no effect here. For example, some attributes are only meaningful in externals.