80 lines
2.6 KiB
Plaintext
80 lines
2.6 KiB
Plaintext
(diagnostic
|
|
(schema slovo.diagnostic)
|
|
(version 1)
|
|
(severity error)
|
|
(code UnsupportedTypeAliasTarget)
|
|
(message "type alias target type is not supported in beta.8")
|
|
(file "<fixture>")
|
|
(span
|
|
(bytes 50 59)
|
|
(range 6 14 6 23)
|
|
)
|
|
(expected "i32, i64, u32, u64, f64, bool, string, known struct, known enum, supported array, supported option, supported result, or supported vec")
|
|
(found "(ptr i32)")
|
|
(hint "aliases are transparent and may only target concrete types already supported in the target use positions")
|
|
)
|
|
|
|
(diagnostic
|
|
(schema slovo.diagnostic)
|
|
(version 1)
|
|
(severity error)
|
|
(code UnsupportedTypeAliasTarget)
|
|
(message "type alias target type is not supported in beta.8")
|
|
(file "<fixture>")
|
|
(span
|
|
(bytes 132 151)
|
|
(range 12 17 12 36)
|
|
)
|
|
(expected "i32, i64, u32, u64, f64, bool, string, known struct, known enum, supported array, supported option, supported result, or supported vec")
|
|
(found "(result i32 string)")
|
|
(hint "aliases are transparent and may only target concrete types already supported in the target use positions")
|
|
)
|
|
|
|
(diagnostic
|
|
(schema slovo.diagnostic)
|
|
(version 1)
|
|
(severity error)
|
|
(code UnsupportedTypeAliasTarget)
|
|
(message "type alias target type is not supported in beta.8")
|
|
(file "<fixture>")
|
|
(span
|
|
(bytes 77 88)
|
|
(range 8 16 8 27)
|
|
)
|
|
(expected "i32, i64, u32, u64, f64, bool, string, known struct, known enum, supported array, supported option, supported result, or supported vec")
|
|
(found "(slice i32)")
|
|
(hint "aliases are transparent and may only target concrete types already supported in the target use positions")
|
|
)
|
|
|
|
(diagnostic
|
|
(schema slovo.diagnostic)
|
|
(version 1)
|
|
(severity error)
|
|
(code UnsupportedTypeAliasTarget)
|
|
(message "type alias target type is not supported in beta.8")
|
|
(file "<fixture>")
|
|
(span
|
|
(bytes 30 34)
|
|
(range 4 15 4 19)
|
|
)
|
|
(expected "i32, i64, u32, u64, f64, bool, string, known struct, known enum, supported array, supported option, supported result, or supported vec")
|
|
(found "unit")
|
|
(hint "aliases are transparent and may only target concrete types already supported in the target use positions")
|
|
)
|
|
|
|
(diagnostic
|
|
(schema slovo.diagnostic)
|
|
(version 1)
|
|
(severity error)
|
|
(code UnsupportedTypeAliasTarget)
|
|
(message "type alias target type is not supported in beta.8")
|
|
(file "<fixture>")
|
|
(span
|
|
(bytes 104 113)
|
|
(range 10 14 10 23)
|
|
)
|
|
(expected "i32, i64, u32, u64, f64, bool, string, known struct, known enum, supported array, supported option, supported result, or supported vec")
|
|
(found "(vec u32)")
|
|
(hint "aliases are transparent and may only target concrete types already supported in the target use positions")
|
|
)
|