[Rust compiler update] fix syntax::ptr::P usage. Import PathExtensions traits. Use MacItems instead of MacItem (removed).
[Rust compiler update] Fix several warnings.