>>573
マジかそんなんあんのか!!!!

static mut test: i32 = 0;

fn main() {
 unsafe {
  test = 1;

  unsafe fn calc() {
   if test == 1 { println!("yes") }
  }
  calc();
 }
}

yes表示キタ━━━━(゚∀゚)━━━━!!
ありがとうありがとうヽ(´ー`)ノ