mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 22:56:11 +03:00
0d63470eba
swc_css_ast: - Rename `Values` to `SpaceValues`. swc_css_parser: - Add `parse_str`. - Make `ErrorKind` `#[non_exhaustive]`. - Fix span. swc_css_visit: - Create visitors.
163 lines
4.7 KiB
Plaintext
163 lines
4.7 KiB
Plaintext
error: Stylesheet
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:1
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Rule
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:1
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: StyleRule
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:1
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: ComplexSelector
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:1
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^
|
|
|
|
error: CompoundSelector
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:1
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^
|
|
|
|
error: NamespacedName
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:1
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^
|
|
|
|
error: Text
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:1
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^
|
|
|
|
error: DeclBlock
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:3
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Property
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:5
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: Text
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:5
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^^^^^^^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:17
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
error: FnValue
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:17
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
error: Text
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:17
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:21
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^^
|
|
|
|
error: Num
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:21
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:26
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^
|
|
|
|
error: Num
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:26
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:29
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^
|
|
|
|
error: Num
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:29
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:33
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^
|
|
|
|
error: Num
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:33
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:35
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^
|
|
|
|
error: Num
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:35
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:37
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^
|
|
|
|
error: Num
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:37
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^
|
|
|
|
error: Value
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:39
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^^^^
|
|
|
|
error: Text
|
|
--> $DIR/tests/fixture/esbuild/misc/-gboAEi1zyjFW5mtEM24Rg/input.css:1:39
|
|
|
|
|
1 | a { box-shadow: rgb(255, 0, 17) 0 0 1 inset }
|
|
| ^^^^^
|
|
|