Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading