You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As it stands, I get the following when attempting to compile the package:
error[E0599]: no function or associated item named `from_vec2` found for struct `Selector` in the current scope
--> /Users/mnawara/.cargo/registry/src/index.crates.io-6f17d22bba15001f/parcel_css-1.0.0-alpha.32/src/parser.rs:873:89
|
873 | selectors: SelectorList(smallvec::smallvec![parcel_selectors::parser::Selector::from_vec2(
| ^^^^^^^^^ function or associated item not found in `Selector<'_, _>`
error[E0599]: no function or associated item named `from_vec2` found for struct `Selector` in the current scope
--> /Users/mnawara/.cargo/registry/src/index.crates.io-6f17d22bba15001f/parcel_css-1.0.0-alpha.32/src/selector.rs:1611:27
|
1611 | .map(|lang| Selector::from_vec2(vec![Component::NonTSPseudoClass(PseudoClass::Lang(vec![lang.clone()]))]))
| ^^^^^^^^^ function or associated item not found in `Selector<'_, _>`
error[E0599]: no function or associated item named `from_vec2` found for struct `Selector` in the current scope
--> /Users/mnawara/.cargo/registry/src/index.crates.io-6f17d22bba15001f/parcel_css-1.0.0-alpha.32/src/selector.rs:1623:42
|
1623 | Component::Negation(vec![Selector::from_vec2(vec![c])].into_boxed_slice())
| ^^^^^^^^^ function or associated item not found in `Selector<'_, _>`
however, bumping lightningcss to v1.0.0-alpha.51 resolves the issue for me.
I am not sure what other issues such a bump may introduce nor have I thoroughly investigated the underlying error.
The text was updated successfully, but these errors were encountered:
As it stands, I get the following when attempting to compile the package:
however, bumping
lightningcss
tov1.0.0-alpha.51
resolves the issue for me.I am not sure what other issues such a bump may introduce nor have I thoroughly investigated the underlying error.
The text was updated successfully, but these errors were encountered: