warning: non-printable character in string literal
  --> testdata/options/values/string.proto:24:40
   |
24 |     s: ["", "foo", "foo bar" 'baz', '🐈<U+200D>⬛', "\xff"]
   |                                        ^^^^^^^^
  help: consider escaping it
   |
24 | -     s: ["", "foo", "foo bar" 'baz', '🐈<U+200D>⬛', "\xff"]
24 | +     s: ["", "foo", "foo bar" 'baz', '🐈\u200d⬛', "\xff"]

warning: non-printable character in string literal
  --> testdata/options/values/string.proto:25:40
   |
25 |     b: ["", "foo", "foo bar" 'baz', '🐈<U+200D>⬛', "\xff"]
   |                                        ^^^^^^^^
  help: consider escaping it
   |
25 | -     b: ["", "foo", "foo bar" 'baz', '🐈<U+200D>⬛', "\xff"]
25 | +     b: ["", "foo", "foo bar" 'baz', '🐈\u200d⬛', "\xff"]

error: nested array expressions are not allowed
  --> testdata/options/values/string.proto:30:37
   |
30 |     s: [1, 1.0, true, inf, nan, {}, [], 0 to 1]
   |        -----------------------------^^---------
   |         |                           |
   |         ...within this array expression
   |                                     |
   |                                     cannot nest this array expression...

error: unexpected range expression in option setting value
  --> testdata/options/values/string.proto:30:41
   |
30 |     s: [1, 1.0, true, inf, nan, {}, [], 0 to 1]
   |                                         ^^^^^^

error: nested array expressions are not allowed
  --> testdata/options/values/string.proto:31:37
   |
31 |     b: [1, 1.0, true, inf, nan, {}, [], 0 to 1]
   |        -----------------------------^^---------
   |         |                           |
   |         ...within this array expression
   |                                     |
   |                                     cannot nest this array expression...

error: unexpected range expression in option setting value
  --> testdata/options/values/string.proto:31:41
   |
31 |     b: [1, 1.0, true, inf, nan, {}, [], 0 to 1]
   |                                         ^^^^^^

error: mismatched types
  --> testdata/options/values/string.proto:27:9
   |
27 |     s: -"neg"
   |        -^^^^^ expected number, found `string`
   |        |
   |        expected due to this
   |
   = note: expected: number
              found: scalar type `string`

error: mismatched types
  --> testdata/options/values/string.proto:30:9
   |
30 |     s: [1, 1.0, true, inf, nan, {}, [], 0 to 1]
   |         ^ expected `string`, found integer literal
31 |     b: [1, 1.0, true, inf, nan, {}, [], 0 to 1]
...
35 |     repeated string s = 1;
   |     --------------- expected due to this
   |
   = note: expected: scalar type `string`
              found: integer literal

error: mismatched types
  --> testdata/options/values/string.proto:30:12
   |
30 |     s: [1, 1.0, true, inf, nan, {}, [], 0 to 1]
   |            ^^^ expected `string`, found floating-point literal
31 |     b: [1, 1.0, true, inf, nan, {}, [], 0 to 1]
...
35 |     repeated string s = 1;
   |     --------------- expected due to this
   |
   = note: expected: scalar type `string`
              found: floating-point literal

error: mismatched types
  --> testdata/options/values/string.proto:30:17
   |
30 |     s: [1, 1.0, true, inf, nan, {}, [], 0 to 1]
   |                 ^^^^ expected `string`, found `bool`
31 |     b: [1, 1.0, true, inf, nan, {}, [], 0 to 1]
...
35 |     repeated string s = 1;
   |     --------------- expected due to this
   |
   = note: expected: scalar type `string`
              found: scalar type `bool`

error: mismatched types
  --> testdata/options/values/string.proto:30:23
   |
30 |     s: [1, 1.0, true, inf, nan, {}, [], 0 to 1]
   |                       ^^^ expected `string`, found floating-point literal
31 |     b: [1, 1.0, true, inf, nan, {}, [], 0 to 1]
...
35 |     repeated string s = 1;
   |     --------------- expected due to this
   |
   = note: expected: scalar type `string`
              found: floating-point literal

error: mismatched types
  --> testdata/options/values/string.proto:30:28
   |
30 |     s: [1, 1.0, true, inf, nan, {}, [], 0 to 1]
   |                            ^^^
   |                            |
   |                            expected `string`, found floating-point literal
31 |     b: [1, 1.0, true, inf, nan, {}, [], 0 to 1]
...
35 |     repeated string s = 1;
   |     --------------- expected due to this
   |
   = note: expected: scalar type `string`
              found: floating-point literal

error: mismatched types
  --> testdata/options/values/string.proto:30:33
   |
30 |     s: [1, 1.0, true, inf, nan, {}, [], 0 to 1]
   |                                 ^^
   |                                 |
   |                                 expected `string`, found message expression
31 |     b: [1, 1.0, true, inf, nan, {}, [], 0 to 1]
...
35 |     repeated string s = 1;
   |     --------------- expected due to this
   |
   = note: expected: scalar type `string`
              found: message expression

error: mismatched types
  --> testdata/options/values/string.proto:31:9
   |
31 |     b: [1, 1.0, true, inf, nan, {}, [], 0 to 1]
   |         ^ expected `bytes`, found integer literal
...
35 |     repeated string s = 1;
36 |     repeated bytes b = 2;
   |     -------------- expected due to this
   |
   = note: expected: scalar type `bytes`
              found: integer literal

error: mismatched types
  --> testdata/options/values/string.proto:31:12
   |
31 |     b: [1, 1.0, true, inf, nan, {}, [], 0 to 1]
   |            ^^^ expected `bytes`, found floating-point literal
...
35 |     repeated string s = 1;
36 |     repeated bytes b = 2;
   |     -------------- expected due to this
   |
   = note: expected: scalar type `bytes`
              found: floating-point literal

error: mismatched types
  --> testdata/options/values/string.proto:31:17
   |
31 |     b: [1, 1.0, true, inf, nan, {}, [], 0 to 1]
   |                 ^^^^ expected `bytes`, found `bool`
...
35 |     repeated string s = 1;
36 |     repeated bytes b = 2;
   |     -------------- expected due to this
   |
   = note: expected: scalar type `bytes`
              found: scalar type `bool`

error: mismatched types
  --> testdata/options/values/string.proto:31:23
   |
31 |     b: [1, 1.0, true, inf, nan, {}, [], 0 to 1]
   |                       ^^^ expected `bytes`, found floating-point literal
...
35 |     repeated string s = 1;
36 |     repeated bytes b = 2;
   |     -------------- expected due to this
   |
   = note: expected: scalar type `bytes`
              found: floating-point literal

error: mismatched types
  --> testdata/options/values/string.proto:31:28
   |
31 |     b: [1, 1.0, true, inf, nan, {}, [], 0 to 1]
   |                            ^^^
   |                            |
   |                            expected `bytes`, found floating-point literal
...
35 |     repeated string s = 1;
36 |     repeated bytes b = 2;
   |     -------------- expected due to this
   |
   = note: expected: scalar type `bytes`
              found: floating-point literal

error: mismatched types
  --> testdata/options/values/string.proto:31:33
   |
31 |     b: [1, 1.0, true, inf, nan, {}, [], 0 to 1]
   |                                 ^^
   |                                 |
   |                                 expected `bytes`, found message expression
...
35 |     repeated string s = 1;
36 |     repeated bytes b = 2;
   |     -------------- expected due to this
   |
   = note: expected: scalar type `bytes`
              found: message expression

encountered 17 errors and 2 warnings
