@@ -146,7 +146,7 @@ pub fn extract(attrs: &[ast::Attribute]) -> Option<(Symbol, Span)> {
146
146
}
147
147
148
148
language_item_table ! {
149
- // Variant name, Name, Method name, Target Generic requirements;
149
+ // Variant name, Name, Getter method name, Target Generic requirements;
150
150
Sized , sym:: sized, sized_trait, Target :: Trait , GenericRequirement :: Exact ( 0 ) ;
151
151
Unsize , sym:: unsize, unsize_trait, Target :: Trait , GenericRequirement :: Minimum ( 1 ) ;
152
152
/// Trait injected by `#[derive(PartialEq)]`, (i.e. "Partial EQ").
@@ -232,14 +232,15 @@ language_item_table! {
232
232
// is required to define it somewhere. Additionally, there are restrictions on crates that use
233
233
// a weak lang item, but do not have it defined.
234
234
Panic , sym:: panic, panic_fn, Target :: Fn , GenericRequirement :: Exact ( 0 ) ;
235
+ PanicNounwind , sym:: panic_nounwind, panic_nounwind, Target :: Fn , GenericRequirement :: Exact ( 0 ) ;
235
236
PanicFmt , sym:: panic_fmt, panic_fmt, Target :: Fn , GenericRequirement :: None ;
236
237
PanicDisplay , sym:: panic_display, panic_display, Target :: Fn , GenericRequirement :: None ;
237
238
ConstPanicFmt , sym:: const_panic_fmt, const_panic_fmt, Target :: Fn , GenericRequirement :: None ;
238
239
PanicBoundsCheck , sym:: panic_bounds_check, panic_bounds_check_fn, Target :: Fn , GenericRequirement :: Exact ( 0 ) ;
239
240
PanicInfo , sym:: panic_info, panic_info, Target :: Struct , GenericRequirement :: None ;
240
241
PanicLocation , sym:: panic_location, panic_location, Target :: Struct , GenericRequirement :: None ;
241
242
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 ) ;
243
244
/// libstd panic entry point. Necessary for const eval to be able to catch it
244
245
BeginPanic , sym:: begin_panic, begin_panic_fn, Target :: Fn , GenericRequirement :: None ;
245
246
0 commit comments