mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 18:57:19 +00:00

Add `GenericArgKind::as_{type,const,region}` This allows to make code nicer in some cases
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.