1 error[E0601]: `main` function not found in crate `ice_6250`
2 --> $DIR/ice-6250.rs:4:1
4 LL | / pub struct Cache {
11 | |_^ consider adding a `main` function to `$DIR/ice-6250.rs`
13 error[E0308]: mismatched types
14 --> $DIR/ice-6250.rs:12:9
16 LL | Some(reference) = cache.data.get(key) {
17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `()`
19 help: you might have meant to use pattern matching
21 LL | let Some(reference) = cache.data.get(key) {
24 error: aborting due to 2 previous errors
26 Some errors have detailed explanations: E0308, E0601.
27 For more information about an error, try `rustc --explain E0308`.