@@ -146,7 +146,7 @@ pub fn extract(attrs: &[ast::Attribute]) -> Option<(Symbol, Span)> {
146146}
147147
148148language_item_table ! {
149- // Variant name, Name, Method name, Target Generic requirements;
149+ // Variant name, Name, Getter method name, Target Generic requirements;
150150 Sized , sym:: sized, sized_trait, Target :: Trait , GenericRequirement :: Exact ( 0 ) ;
151151 Unsize , sym:: unsize, unsize_trait, Target :: Trait , GenericRequirement :: Minimum ( 1 ) ;
152152 /// Trait injected by `#[derive(PartialEq)]`, (i.e. "Partial EQ").
@@ -232,14 +232,15 @@ language_item_table! {
232232 // is required to define it somewhere. Additionally, there are restrictions on crates that use
233233 // a weak lang item, but do not have it defined.
234234 Panic , sym:: panic, panic_fn, Target :: Fn , GenericRequirement :: Exact ( 0 ) ;
235+ PanicNounwind , sym:: panic_nounwind, panic_nounwind, Target :: Fn , GenericRequirement :: Exact ( 0 ) ;
235236 PanicFmt , sym:: panic_fmt, panic_fmt, Target :: Fn , GenericRequirement :: None ;
236237 PanicDisplay , sym:: panic_display, panic_display, Target :: Fn , GenericRequirement :: None ;
237238 ConstPanicFmt , sym:: const_panic_fmt, const_panic_fmt, Target :: Fn , GenericRequirement :: None ;
238239 PanicBoundsCheck , sym:: panic_bounds_check, panic_bounds_check_fn, Target :: Fn , GenericRequirement :: Exact ( 0 ) ;
239240 PanicInfo , sym:: panic_info, panic_info, Target :: Struct , GenericRequirement :: None ;
240241 PanicLocation , sym:: panic_location, panic_location, Target :: Struct , GenericRequirement :: None ;
241242 PanicImpl , sym:: panic_impl, panic_impl, Target :: Fn , GenericRequirement :: None ;
242- PanicNoUnwind , sym:: panic_no_unwind , panic_no_unwind , Target :: Fn , GenericRequirement :: Exact ( 0 ) ;
243+ PanicCannotUnwind , sym:: panic_cannot_unwind , panic_cannot_unwind , Target :: Fn , GenericRequirement :: Exact ( 0 ) ;
243244 /// libstd panic entry point. Necessary for const eval to be able to catch it
244245 BeginPanic , sym:: begin_panic, begin_panic_fn, Target :: Fn , GenericRequirement :: None ;
245246
0 commit comments