// in third.rspubstructList<T> { head:Link<T>,}typeLink<T> =Option<Rc<Node<T>>>;structNode<T> { elem:T, next:Link<T>,}
cargo builderror[E0412]: cannot find type `Rc` in this scope--> src/third.rs:5:23|5|typeLink<T> =Option<Rc<Node<T>>>;|^^ not found in this scopehelp: possible candidate is found in another module, you can import it into scope|1|use std::rc::Rc;|
cargo buildwarning: field is never used: `head`--> src/third.rs:4:5|4| head:Link<T>,|^^^^^^^^^^^^^|= note: #[warn(dead_code)] on by defaultwarning: field is never used: `elem`--> src/third.rs:10:5|10| elem:T,|^^^^^^^warning: field is never used: `next`--> src/third.rs:11:5|11| next:Link<T>,|^^^^^^^^^^^^^