File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,10 @@ unsafe { panic_impl(&pi) }
24
24
25
25
Actually resolving this goes through several layers of indirection:
26
26
27
- 1 . In ` compiler/rustc_middle/src/middle/weak_lang_items.rs ` , ` panic_impl ` is declared as 'weak lang item',
28
- with the symbol ` rust_begin_unwind ` . This is used in ` rustc_typeck/src/collect.rs `
29
- to set the actual symbol name to ` rust_begin_unwind ` .
27
+ 1 . In ` compiler/rustc_middle/src/middle/weak_lang_items.rs ` , ` panic_impl ` is
28
+ declared as 'weak lang item', with the symbol ` rust_begin_unwind ` . This is
29
+ used in ` rustc_typeck/src/collect.rs ` to set the actual symbol name to
30
+ ` rust_begin_unwind ` .
30
31
31
32
Note that ` panic_impl ` is declared in an ` extern "Rust" ` block,
32
33
which means that core will attempt to call a foreign symbol called ` rust_begin_unwind `
You can’t perform that action at this time.
0 commit comments