]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/middle/lang_items.rs
Update to use new librustc_error_codes library
[rust.git] / src / librustc / middle / lang_items.rs
index 72fb1fd3561f01b6f92d446ad505fb03902ad087..f6cd9b1c7ec0bdac2b1a4321939c1c2f833285ad 100644 (file)
@@ -23,6 +23,8 @@
 use crate::hir::itemlikevisit::ItemLikeVisitor;
 use crate::hir;
 
+use rustc_error_codes::*;
+
 // The actual lang items defined come at the end of this file in one handy table.
 // So you probably just want to nip down to the end.
 macro_rules! language_item_table {
@@ -385,7 +387,7 @@ pub fn collect<'tcx>(tcx: TyCtxt<'tcx>) -> LanguageItems {
 
     EhPersonalityLangItem,       "eh_personality",     eh_personality,          Target::Fn;
     EhUnwindResumeLangItem,      "eh_unwind_resume",   eh_unwind_resume,        Target::Fn;
-    MSVCTryFilterLangItem,       "msvc_try_filter",    msvc_try_filter,         Target::Static;
+    EhCatchTypeinfoLangItem,     "eh_catch_typeinfo",  eh_catch_typeinfo,       Target::Static;
 
     OwnedBoxLangItem,            "owned_box",          owned_box,               Target::Struct;