---
source: rnsc/tests/rns_test.rs
expression: "&snapshot_content"
---
----- DISASSEMBLED -----
not generated
----- INPUT -----
.class   @string ; no operand provided
blabla ; <- should be still reported as an error
----- STDERR -----
[E-014] Error: '@string' type hint is missing its string literal
   ╭─[ test_data/rns_integration/error/parser/type_hints/string/no_operand_recovers.rns:1:10 ]
   │
 1 │ .class   @string ; no operand provided
   │          ───┬───│ 
   │             ╰───── forces explicit string constant pool type
   │                 │ 
   │                 ╰─ but string literal is missing
   │ 
   │ Help: Provide the value immediately after the hint:
   │       @string "<string>"
   │       
   │       For example:
   │       @string "Hello, World!"
   │ 
   │ Note: For more details see:
   │       https://rune.lagertha-vm.com/errors/E-014
───╯
[E-007] Error: unexpected identifier class body
   ╭─[ test_data/rns_integration/error/parser/type_hints/string/no_operand_recovers.rns:2:1 ]
   │
 2 │ blabla ; <- should be still reported as an error
   │ ───┬──  
   │    ╰──── unexpected token
   │ 
   │ Help: Check the syntax of the class body and ensure all tokens are valid.
   │ 
   │ Note: For more details see:
   │       https://rune.lagertha-vm.com/errors/E-007
───╯
----- HASH -----
not generated
