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
@@ -1,3 +1,5 @@
//! Regression test for https://github.com/rust-lang/rust/issues/44247

//@ check-pass
#![allow(dead_code)]
trait T {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! Regression test for https://github.com/rust-lang/rust/issues/31267

//@ run-pass

#[derive(Clone, Copy, Debug)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//@ run-pass
// #24947 ICE using a trait-associated const in an array size

// Regression test for https://github.com/rust-lang/rust/issues/24947
// ICE using a trait-associated const in an array size

struct Foo;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! Regression test for https://github.com/rust-lang/rust/issues/25145

//@ run-pass

struct S;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! Regression test for https://github.com/rust-lang/rust/issues/42956

//@ check-pass
#![allow(dead_code)]

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Regression test for issue #28586
// Regression test for issue https://github.com/rust-lang/rust/issues/28586

pub trait Foo {}
impl Foo for [u8; usize::BYTES] {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error[E0599]: no associated function or constant named `BYTES` found for type `usize` in the current scope
--> $DIR/issue-28586.rs:4:26
--> $DIR/no-assoc-item-bytes-on-usize.rs:4:26
|
LL | impl Foo for [u8; usize::BYTES] {}
| ^^^^^ associated function or constant not found in `usize`
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! Regression test for https://github.com/rust-lang/rust/issues/34780

//@ check-pass

use std::marker::PhantomData;
Expand Down
Loading