
  Syntax error!
  syntax_tests/data/parsing/errors/structure/attributes.res:2:3-7

  1 │ module MissingExpression = {
  2 │   @attr
  3 │ }
  4 │ 

  Did you forget to attach `attr` to an item?
  Standalone attributes start with `@@` like: `@@attr`


  Syntax error!
  syntax_tests/data/parsing/errors/structure/attributes.res:5:1-21

  3 │ }
  4 │ 
  5 │ @attrWithNoExpression
  6 │ 

  Did you forget to attach `attrWithNoExpression` to an item?
  Standalone attributes start with `@@` like: `@@attrWithNoExpression`

module MissingExpression = struct ;;[%rescript.exprhole ][@@attr ] end
;;[%rescript.exprhole ][@@attrWithNoExpression ]