@@ -355,73 +355,73 @@ LL | // SAFETY: fail ONLY if `accept-comment-above-attribute = false`
355
355
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
356
356
357
357
error: statement has unnecessary safety comment
358
- --> tests/ui-toml/undocumented_unsafe_blocks/undocumented_unsafe_blocks.rs:720 :5
358
+ --> tests/ui-toml/undocumented_unsafe_blocks/undocumented_unsafe_blocks.rs:721 :5
359
359
|
360
360
LL | _ = bar();
361
361
| ^^^^^^^^^^
362
362
|
363
363
help: consider removing the safety comment
364
- --> tests/ui-toml/undocumented_unsafe_blocks/undocumented_unsafe_blocks.rs:719 :5
364
+ --> tests/ui-toml/undocumented_unsafe_blocks/undocumented_unsafe_blocks.rs:720 :5
365
365
|
366
366
LL | // SAFETY: unnecessary_safety_comment triggers here
367
367
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
368
368
369
369
error: module has unnecessary safety comment
370
- --> tests/ui-toml/undocumented_unsafe_blocks/undocumented_unsafe_blocks.rs:740 :5
370
+ --> tests/ui-toml/undocumented_unsafe_blocks/undocumented_unsafe_blocks.rs:741 :5
371
371
|
372
372
LL | mod x {}
373
373
| ^^^^^^^^
374
374
|
375
375
help: consider removing the safety comment
376
- --> tests/ui-toml/undocumented_unsafe_blocks/undocumented_unsafe_blocks.rs:739 :5
376
+ --> tests/ui-toml/undocumented_unsafe_blocks/undocumented_unsafe_blocks.rs:740 :5
377
377
|
378
378
LL | // SAFETY: ...
379
379
| ^^^^^^^^^^^^^^
380
380
381
381
error: module has unnecessary safety comment
382
- --> tests/ui-toml/undocumented_unsafe_blocks/undocumented_unsafe_blocks.rs:745 :5
382
+ --> tests/ui-toml/undocumented_unsafe_blocks/undocumented_unsafe_blocks.rs:746 :5
383
383
|
384
384
LL | mod y {}
385
385
| ^^^^^^^^
386
386
|
387
387
help: consider removing the safety comment
388
- --> tests/ui-toml/undocumented_unsafe_blocks/undocumented_unsafe_blocks.rs:743 :5
388
+ --> tests/ui-toml/undocumented_unsafe_blocks/undocumented_unsafe_blocks.rs:744 :5
389
389
|
390
390
LL | // SAFETY: ...
391
391
| ^^^^^^^^^^^^^^
392
392
393
393
error: module has unnecessary safety comment
394
- --> tests/ui-toml/undocumented_unsafe_blocks/undocumented_unsafe_blocks.rs:750 :5
394
+ --> tests/ui-toml/undocumented_unsafe_blocks/undocumented_unsafe_blocks.rs:751 :5
395
395
|
396
396
LL | mod z {}
397
397
| ^^^^^^^^
398
398
|
399
399
help: consider removing the safety comment
400
- --> tests/ui-toml/undocumented_unsafe_blocks/undocumented_unsafe_blocks.rs:749 :5
400
+ --> tests/ui-toml/undocumented_unsafe_blocks/undocumented_unsafe_blocks.rs:750 :5
401
401
|
402
402
LL | // SAFETY: ...
403
403
| ^^^^^^^^^^^^^^
404
404
405
405
error: module has unnecessary safety comment
406
- --> tests/ui-toml/undocumented_unsafe_blocks/undocumented_unsafe_blocks.rs:758 :5
406
+ --> tests/ui-toml/undocumented_unsafe_blocks/undocumented_unsafe_blocks.rs:759 :5
407
407
|
408
408
LL | mod y {}
409
409
| ^^^^^^^^
410
410
|
411
411
help: consider removing the safety comment
412
- --> tests/ui-toml/undocumented_unsafe_blocks/undocumented_unsafe_blocks.rs:756 :5
412
+ --> tests/ui-toml/undocumented_unsafe_blocks/undocumented_unsafe_blocks.rs:757 :5
413
413
|
414
414
LL | // SAFETY: ...
415
415
| ^^^^^^^^^^^^^^
416
416
417
417
error: statement has unnecessary safety comment
418
- --> tests/ui-toml/undocumented_unsafe_blocks/undocumented_unsafe_blocks.rs:773 :9
418
+ --> tests/ui-toml/undocumented_unsafe_blocks/undocumented_unsafe_blocks.rs:774 :9
419
419
|
420
420
LL | let x = 34;
421
421
| ^^^^^^^^^^^
422
422
|
423
423
help: consider removing the safety comment
424
- --> tests/ui-toml/undocumented_unsafe_blocks/undocumented_unsafe_blocks.rs:771 :9
424
+ --> tests/ui-toml/undocumented_unsafe_blocks/undocumented_unsafe_blocks.rs:772 :9
425
425
|
426
426
LL | // SAFETY: ...
427
427
| ^^^^^^^^^^^^^^
0 commit comments