Skip to content

feat(macro): implement CSS variable validation in twdom! and css! macros - #512

Draft
szagi3891 wants to merge 1 commit into
masterfrom
var
Draft

feat(macro): implement CSS variable validation in twdom! and css! macros#512
szagi3891 wants to merge 1 commit into
masterfrom
var

feat(macro): implement CSS variable validation in twdom! and css! macros

e82b6fe
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
GitHub Actions / Nightly Vertigo Clippy Output failed Mar 13, 2026 in 0s

Nightly Vertigo Clippy Output

3 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 3
Warning 0
Note 0
Help 0

Versions

  • rustc 1.96.0-nightly (3102493c7 2026-03-12)
  • cargo 1.96.0-nightly (90ed291a5 2026-03-05)
  • clippy 0.1.96 (3102493c71 2026-03-12)

Annotations

Check failure on line 105 in crates/vertigo-macro/src/trace_tailwind/validate.rs

See this annotation in the file changed.

@github-actions github-actions / Nightly Vertigo Clippy Output

used `unwrap()` on a `Result` value

error: used `unwrap()` on a `Result` value
   --> crates/vertigo-macro/src/trace_tailwind/validate.rs:105:14
    |
105 |     let re = Regex::new(r"var\((--[a-zA-Z0-9_-]+)\)").unwrap();
    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: if this value is an `Err`, it will panic
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used

Check failure on line 95 in crates/vertigo-macro/src/trace_tailwind/validate.rs

See this annotation in the file changed.

@github-actions github-actions / Nightly Vertigo Clippy Output

used `unwrap()` on a `Result` value

error: used `unwrap()` on a `Result` value
  --> crates/vertigo-macro/src/trace_tailwind/validate.rs:95:14
   |
95 |     let re = Regex::new(r"(?m)^\s+(--[a-zA-Z0-9_-]+):").unwrap();
   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: if this value is an `Err`, it will panic
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used

Check failure on line 49 in crates/vertigo-macro/src/trace_tailwind/macro_impl.rs

See this annotation in the file changed.

@github-actions github-actions / Nightly Vertigo Clippy Output

used `unwrap()` on a `Result` value

error: used `unwrap()` on a `Result` value
  --> crates/vertigo-macro/src/trace_tailwind/macro_impl.rs:49:22
   |
49 |             let re = regex::Regex::new(r"var\((--[a-zA-Z0-9_-]+)\)").unwrap();
   |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: if this value is an `Err`, it will panic
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
   = note: requested on the command line with `-D clippy::unwrap-used`