Updated type grammar #65

This commit is contained in:
2026-06-05 17:06:06 +02:00
parent 94320bafa6
commit 40b2981252
13 changed files with 5 additions and 823 deletions
-21
View File
@@ -1,21 +0,0 @@
#[derive(Debug)]
pub struct Debuggable {
i32 value,
}
pub void test_derive_attribute() {
let d = Debuggable { value: 42 };
assert_eq!(d.value, 42);
}
#[allow(unused_variables)]
pub void test_allow_attribute() {
let x = 42;
let y = "unused";
assert_eq!(x, 42);
}
pub void run_tests() {
test_derive_attribute();
test_allow_attribute();
}