Skip to content

Commit 0a7c477

Browse files
Rollup merge of rust-lang#134053 - notriddle:notriddle/issue-d, r=GuillaumeGomez
rustdoc: rename `issue-\d+.rs` tests to have meaningful names (part 10) Follow up rust-lang#130287 et al As always, it's easier to review the commits one at a time. Don't use the Files Changed tab. It's confusing.
2 parents 5240cc1 + b531854 commit 0a7c477

19 files changed

+95
-86
lines changed

tests/rustdoc-ui/issues/issue-107918.rs tests/rustdoc-ui/issues/duplicate-panic-impl-107918.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//@ compile-flags: --document-private-items
33
//@ build-pass
44
//@ only-linux
5+
// https://github.com/rust-lang/rust/issues/107918
56

67
#![no_std]
78
#![no_main]

tests/rustdoc-ui/issues/issue-110900.rs tests/rustdoc-ui/issues/ice-associated-type-bounds-110900.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//@ check-pass
2+
// https://github.com/rust-lang/rust/issues/110900
23

34
#![crate_type="lib"]
45

tests/rustdoc-ui/issues/issue-106213.rs tests/rustdoc-ui/issues/ice-bare-dyn-106213.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//@ compile-flags: --document-private-items
22
//@ edition:2021
3+
// https://github.com/rust-lang/rust/issues/106213
34

45
fn use_avx() -> dyn {
56
//~^ ERROR at least one trait is required for an object type

tests/rustdoc-ui/issues/issue-106213.stderr tests/rustdoc-ui/issues/ice-bare-dyn-106213.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0224]: at least one trait is required for an object type
2-
--> $DIR/issue-106213.rs:4:17
2+
--> $DIR/ice-bare-dyn-106213.rs:5:17
33
|
44
LL | fn use_avx() -> dyn {
55
| ^^^

tests/rustdoc-ui/issues/issue-105742.rs tests/rustdoc-ui/issues/ice-generic-type-alias-105742.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//@ compile-flags: -Znormalize-docs
2+
// https://github.com/rust-lang/rust/issues/105742
23
use std::ops::Index;
34

45
pub fn next<'a, T>(s: &'a mut dyn SVec<Item = T, Output = T>) {

0 commit comments

Comments
 (0)