Closed
Description
Describe the bug
failed to compile gitui v0.2.5
on Ubuntu 20.04 on WSL 2
To Reproduce
run cargo install gitui
errors in the log:
error[E0658]: use of unstable library feature 'matches_macro'
Expected behavior
cargo install gitui should work as documented.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Windows 10 + WSL 2 + Ubuntu 20.04 LTS
- Version: gitui v0.2.5
Additional context
Add any other context about the problem here.
error[E0658]: use of unstable library feature 'matches_macro'
--> /home/emv/.cargo/registry/src/proxy-git.cwkhome.fun-1ecc6299db9ec823/gitui-0.2.5/src/components/changes.rs:140:17
|
140 | matches!(tree_item.kind, FileTreeItemKind::Path(_));
| ^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/65721
error[E0658]: use of unstable library feature 'matches_macro'
--> /home/emv/.cargo/registry/src/proxy-git.cwkhome.fun-1ecc6299db9ec823/gitui-0.2.5/src/components/statustree.rs:199:12
|
199 | if matches!(item_kind, FileTreeItemKind::Path(PathCollapsed(collapsed))
| ^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/65721
error[E0658]: use of unstable library feature 'matches_macro'
--> /home/emv/.cargo/registry/src/proxy-git.cwkhome.fun-1ecc6299db9ec823/gitui-0.2.5/src/components/statustree.rs:217:12
|
217 | if matches!(item_kind, FileTreeItemKind::File(_))
| ^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/65721
error[E0658]: use of unstable library feature 'matches_macro'
--> /home/emv/.cargo/registry/src/proxy-git.cwkhome.fun-1ecc6299db9ec823/gitui-0.2.5/src/components/statustree.rs:218:16
|
218 | || matches!(item_kind,FileTreeItemKind::Path(PathCollapsed(collapsed))
| ^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/65721
error[E0658]: use of unstable library feature 'matches_macro'
--> /home/emv/.cargo/registry/src/proxy-git.cwkhome.fun-1ecc6299db9ec823/gitui-0.2.5/src/components/statustree.rs:226:19
|
226 | } else if matches!(item_kind, FileTreeItemKind::Path(PathCollapsed(collapsed))
| ^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/65721
error[E0658]: use of unstable library feature 'matches_macro'
--> /home/emv/.cargo/registry/src/proxy-git.cwkhome.fun-1ecc6299db9ec823/gitui-0.2.5/src/components/statustree.rs:300:16
|
300 | if matches!(item_kind, FileTreeItemKind::Path(PathCollapsed(collapsed)) if collapsed)
| ^^^^^^^
|
= note: for more information, see https://github.com/rust-lang/rust/issues/65721
error: aborting due to 6 previous errors
For more information about this error, try `rustc --explain E0658`.
error: failed to compile `gitui v0.2.5`, intermediate artifacts can be found at `/tmp/cargo-install1l61u0`
Caused by:
could not compile `gitui`.
Metadata
Metadata
Assignees
Labels
No labels