#[allow(unused_assignments)]
Thank you. This works!
#[allow(unused_assignments)]
Thank you. This works!
It doesn't work, at least, on rustc 1.75.
Clippy didn't tell anything about the macro.
warning: dereferencing a tuple pattern where every element takes a reference
--> src/lib.rs:13:9
|
13 | &Some(ref cons_rc) => {
| ^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference
= note: `#[warn(clippy::needless_borrowed_reference)]` on by default
help: try removing the `&` and `ref` parts
|
13 - &Some(ref cons_rc) => {
13 + Some(cons_rc) => {
|
To put #[allow(this_linting_rule)] like this:
[ $x:expr, $( $y:expr ),* ] => {
#[allow(unused_assignments)]
{
I got error[E0658]: attributes on expressions are experimental.
To put it like this:
#[macro_export]
#[allow(unused_assignments)]
macro_rules! list {
() => {
None
It doesn't work.
Because of the Redhat incident, I started to see people asking for community-based distros without a corporate that dominates the community. And, Mageia is one of them. So, I hope it will be more popular.
Such files are relatively easy to create and read, as they are basically shell scripts.
I agree. I lean towards writing in Bash script instead of learning yet another special-purpose language. Nonetheless, the RPM spec doesn't seem to pose any additional difficulty.
The immutability and configuration of Nix seems so appealing but at this point I’m really comfortable with Arch and it does everything I need in a pretty sane way so idk if I’d switch anytime soon.
Back in 2018, I had the experience of using NixOS. At that time, I noticed that the Nix language had a striking resemblance to Haskell, which stirred up feelings of anxiety within me.
One is that it’s a shell script,
Using Bash sounds convincing to me.
Do you also dislike openSUSE and openMandriva?
I'm using Reagent, but I haven't aware of this.
Yes, it is stable.