Skip to content

Commit

Permalink
Rollup merge of rust-lang#134053 - notriddle:notriddle/issue-d, r=Gui…
Browse files Browse the repository at this point in the history
…llaumeGomez

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.
  • Loading branch information
jieyouxu authored Dec 9, 2024
2 parents ac3a4a9 + b531854 commit f932b7b
Show file tree
Hide file tree
Showing 19 changed files with 95 additions and 86 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//@ compile-flags: --document-private-items
//@ build-pass
//@ only-linux
// https://github.com/rust-lang/rust/issues/107918

#![no_std]
#![no_main]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//@ check-pass
// https://github.com/rust-lang/rust/issues/110900

#![crate_type="lib"]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
//@ compile-flags: --document-private-items
//@ edition:2021
// https://github.com/rust-lang/rust/issues/106213

fn use_avx() -> dyn {
//~^ ERROR at least one trait is required for an object type
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error[E0224]: at least one trait is required for an object type
--> $DIR/issue-106213.rs:4:17
--> $DIR/ice-bare-dyn-106213.rs:5:17
|
LL | fn use_avx() -> dyn {
| ^^^
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//@ compile-flags: -Znormalize-docs
// https://github.com/rust-lang/rust/issues/105742
use std::ops::Index;

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

0 comments on commit f932b7b

Please sign in to comment.