where possible, pass slices instead of &Vec or &String (clippy::ptr_arg)
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.