|
125 | 125 |
|
126 | 126 | <section id="assure-visibility-of-unsafe-keyword-in-unsafe-code"> |
127 | 127 | <h1>Assure visibility of <code class="docutils literal notranslate"><span class="pre">unsafe</span></code> keyword in unsafe code<a class="headerlink" href="#assure-visibility-of-unsafe-keyword-in-unsafe-code" title="Link to this heading"></a></h1> |
128 | | -<div class="need_container docutils container" id="SNCB-4067c148"> |
| 128 | +<div class="need_container docutils container" id="SNCB-6fb2c5ae"> |
129 | 129 | <table class="need needs_grid_simple needs_layout_clean needs_style_none needs_type_guideline docutils align-default" id="gui_ZDLZzjeOwLSU"> |
130 | 130 | <tbody> |
131 | 131 | <tr class="need head row-odd"><td class="need head"><div class="needs_head line-block"> |
@@ -163,7 +163,7 @@ <h1>Assure visibility of <code class="docutils literal notranslate"><span class= |
163 | 163 | <code class="docutils literal notranslate"><span class="pre">unsafe</span> <span class="pre">extern</span></code> requirement, as they must appear on <code class="docutils literal notranslate"><span class="pre">extern</span></code> blocks. |
164 | 164 | See rust-lang/rust#82499 for the tracking issue on unsafe attributes.</p> |
165 | 165 | </div> |
166 | | -<div class="need_container docutils container" id="SNCB-459b6f31"> |
| 166 | +<div class="need_container docutils container" id="SNCB-545f8592"> |
167 | 167 | <table class="need needs_grid_simple needs_layout_clean needs_style_none needs_type_rationale docutils align-default" id="rat_eQV3s9ggNegr"> |
168 | 168 | <tbody> |
169 | 169 | <tr class="need head row-odd"><td class="need head"><div class="needs_head line-block"> |
@@ -222,7 +222,7 @@ <h1>Assure visibility of <code class="docutils literal notranslate"><span class= |
222 | 222 | </tbody> |
223 | 223 | </table> |
224 | 224 | </div> |
225 | | -<div class="need_container docutils container" id="SNCB-5d278ce8"> |
| 225 | +<div class="need_container docutils container" id="SNCB-4f0460cc"> |
226 | 226 | <table class="need needs_grid_simple needs_layout_clean needs_style_none needs_type_non_compliant_example docutils align-default" id="non_compl_ex_FdmuPXGZr4EP"> |
227 | 227 | <tbody> |
228 | 228 | <tr class="need head row-odd"><td class="need head"><div class="needs_head line-block"> |
@@ -262,7 +262,7 @@ <h1>Assure visibility of <code class="docutils literal notranslate"><span class= |
262 | 262 | </tbody> |
263 | 263 | </table> |
264 | 264 | </div> |
265 | | -<div class="need_container docutils container" id="SNCB-ba5a64f1"> |
| 265 | +<div class="need_container docutils container" id="SNCB-a630c97b"> |
266 | 266 | <table class="need needs_grid_simple needs_layout_clean needs_style_none needs_type_compliant_example docutils align-default" id="compl_ex_wR1FEyLRKmrr"> |
267 | 267 | <tbody> |
268 | 268 | <tr class="need head row-odd"><td class="need head"><div class="needs_head line-block"> |
@@ -297,7 +297,7 @@ <h1>Assure visibility of <code class="docutils literal notranslate"><span class= |
297 | 297 | </tbody> |
298 | 298 | </table> |
299 | 299 | </div> |
300 | | -<div class="need_container docutils container" id="SNCB-54244ddd"> |
| 300 | +<div class="need_container docutils container" id="SNCB-d2fe231a"> |
301 | 301 | <table class="need needs_grid_simple needs_layout_clean needs_style_none needs_type_non_compliant_example docutils align-default" id="non_compl_ex_FdmuPXGZr4EO"> |
302 | 302 | <tbody> |
303 | 303 | <tr class="need head row-odd"><td class="need head"><div class="needs_head line-block"> |
@@ -339,7 +339,7 @@ <h1>Assure visibility of <code class="docutils literal notranslate"><span class= |
339 | 339 | </tbody> |
340 | 340 | </table> |
341 | 341 | </div> |
342 | | -<div class="need_container docutils container" id="SNCB-58ee35a2"> |
| 342 | +<div class="need_container docutils container" id="SNCB-8cc4d0ee"> |
343 | 343 | <table class="need needs_grid_simple needs_layout_clean needs_style_none needs_type_compliant_example docutils align-default" id="compl_ex_wR1FEyLRKmrq"> |
344 | 344 | <tbody> |
345 | 345 | <tr class="need head row-odd"><td class="need head"><div class="needs_head line-block"> |
@@ -386,7 +386,7 @@ <h1>Assure visibility of <code class="docutils literal notranslate"><span class= |
386 | 386 | </tbody> |
387 | 387 | </table> |
388 | 388 | </div> |
389 | | -<div class="need_container docutils container" id="SNCB-96430594"> |
| 389 | +<div class="need_container docutils container" id="SNCB-f973904b"> |
390 | 390 | <table class="need needs_grid_simple needs_layout_clean needs_style_none needs_type_non_compliant_example docutils align-default" id="non_compl_ex_Hk3mNp5qRs7t"> |
391 | 391 | <tbody> |
392 | 392 | <tr class="need head row-odd"><td class="need head"><div class="needs_head line-block"> |
@@ -435,7 +435,7 @@ <h1>Assure visibility of <code class="docutils literal notranslate"><span class= |
435 | 435 | </tbody> |
436 | 436 | </table> |
437 | 437 | </div> |
438 | | -<div class="need_container docutils container" id="SNCB-aad52f8d"> |
| 438 | +<div class="need_container docutils container" id="SNCB-bb006dc0"> |
439 | 439 | <table class="need needs_grid_simple needs_layout_clean needs_style_none needs_type_compliant_example docutils align-default" id="compl_ex_xY2zAb3cDe4f"> |
440 | 440 | <tbody> |
441 | 441 | <tr class="need head row-odd"><td class="need head"><div class="needs_head line-block"> |
@@ -506,7 +506,7 @@ <h1>Assure visibility of <code class="docutils literal notranslate"><span class= |
506 | 506 | * Document safety invariants for all unsafe code with <code class="docutils literal notranslate"><span class="pre">//</span> <span class="pre">SAFETY:</span></code> comments |
507 | 507 | * Prefer safe abstractions over raw unsafe code |
508 | 508 | * Use <code class="docutils literal notranslate"><span class="pre">#![forbid(unsafe_code)]</span></code> at crate level where possible, with explicit exceptions</p> |
509 | | -<div class="need_container docutils container" id="SNCB-504a2af1"> |
| 509 | +<div class="need_container docutils container" id="SNCB-566e4a4a"> |
510 | 510 | <table class="need needs_grid_simple needs_layout_clean needs_style_none needs_type_bibliography docutils align-default" id="bib_n8YJHvQf4mWx"> |
511 | 511 | <tbody> |
512 | 512 | <tr class="need head row-odd"><td class="need head"><div class="needs_head line-block"> |
|
0 commit comments