The following triggers irrefutable_let_patterns: fn expensive() -> u32 { 0 } fn option(x: u32) -> Option { Some(x) } fn f(x: bool) { if x { // something } else if let foo = expensive() && let Some(bar) = option(foo) { // use `foo` and `bar` } else { // some...
Language bindings for popular languages, surfacing Q# compiler and resource estimator APIs - fixed irrefutable_let_patterns · qsharp-community/qsharp-bridge@6775d1e
And I even added the allow(irrefutable_let_patterns) and it would not stop showing the warning on cargo check (not clippy). //! Failed reproduction of issue pub enum Layer { Liquid { id: usize, volume: f32 }, } /// The warning this used to provoke in my code that I could not ...