Validity checking for weak lang items
The check_name argument avoids the need for rustc_hir to depend on rustc_session.
check_name
rustc_hir
rustc_session