From: Ian Jackson Date: Mon, 16 May 2022 15:10:38 +0000 (+0100) Subject: w X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=322e14fdcbe75cb12974d17a40f972b76aefbcec;p=rust-experiments.git w --- diff --git a/src/main.rs b/src/main.rs index cc778c3..abdbbbe 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,6 @@ #![allow(dead_code)] #![allow(unused_variables)] +#![allow(unused_imports)] use std::mem::MaybeUninit; @@ -14,7 +15,7 @@ impl Ish for Inner { const N: usize = 1; const F: &'static [&'static str] = &["i"]; } - +/* const fn plus (x: &'static [&'static str], b: &'static [&'static str], @@ -41,6 +42,7 @@ impl Ish for Outer { ) }; } +*/ fn main(){ eprintln!("IF {:?}", Inner::F);