Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
26c8b64
test: audit auto-traits test
Ayuse Mar 26, 2026
a3d9902
test: audit where-clauses test
Ayuse Mar 26, 2026
1d548c1
test: audit let-else test
Ayuse Mar 26, 2026
b11135c
test: audit sized tests
Ayuse Mar 26, 2026
18ecd19
test: audit generics tests
Ayuse Mar 26, 2026
f710333
test: audit moves test
Ayuse Mar 26, 2026
4bca9fa
test: audit specialization test
Ayuse Mar 26, 2026
cc59c27
test: audit non_modrs_mods test
Ayuse Mar 26, 2026
fd5122e
test: audit dropck test
Ayuse Mar 26, 2026
5f429df
test: audit bench test
Ayuse Mar 26, 2026
d45cb22
test: audit explicit-tail-calls test
Ayuse Mar 26, 2026
1c2aca9
test: audit regions test
Ayuse Mar 26, 2026
646c411
test(dropck): revert cleanup arm-conditional to run-pass
Ayuse Mar 31, 2026
f191c6b
test: audit lint tests
Ayuse Mar 31, 2026
6dc402f
test: audit asm test
Ayuse Apr 1, 2026
98da4c5
test: audit associated-types tests
Ayuse Apr 1, 2026
6000031
test: audit box test
Ayuse Apr 1, 2026
fdbd3ef
test: audit coroutine tests
Ayuse Apr 1, 2026
312c24e
test: audit methods test
Ayuse Apr 1, 2026
63c4fdb
test: audit or-patterns test
Ayuse Apr 1, 2026
8520142
test: audit privacy test
Ayuse Apr 1, 2026
ccad0af
test: audit reachable tests
Ayuse Apr 1, 2026
d6befd7
test: audit resolve tests
Ayuse Apr 1, 2026
c6afec7
test: audit array-slice-vec tests
Ayuse Apr 2, 2026
df47aed
test: audit associated-types tests
Ayuse Apr 2, 2026
fbceb56
test: audit async-await tests
Ayuse Apr 2, 2026
3b099ff
test: audit binding tests
Ayuse Apr 2, 2026
484843a
test: audit const-generics tests
Ayuse Apr 2, 2026
49bd80d
test: audit cast tests
Ayuse Apr 2, 2026
199f807
test: audit box tests
Ayuse Apr 2, 2026
06a625a
test: audit builtin-superkinds test
Ayuse Apr 2, 2026
6e8bacb
test: audit imports tests
Ayuse Apr 2, 2026
1516323
test: audit hygiene test
Ayuse Apr 2, 2026
5096b1e
test: audit expr tests
Ayuse Apr 2, 2026
c1f8e97
test: audit enum test
Ayuse Apr 2, 2026
2253fef
test: audit dst tests
Ayuse Apr 2, 2026
d87225f
test: audit regions tests
Ayuse Apr 29, 2026
450bcae
test: audit reachable test
Ayuse Apr 29, 2026
d0d47b5
test: audit explicit-tail-calls test
Ayuse Apr 29, 2026
f19b421
test: audit asm test
Ayuse Apr 29, 2026
a5192da
test: audit methods test
Ayuse Apr 29, 2026
c56df80
test: audit box test
Ayuse Apr 29, 2026
cc994bb
test: audit statics test
Ayuse Apr 29, 2026
0dd079e
test: audit privacy test
Ayuse Apr 29, 2026
67ba380
test: audit type-inference test
Ayuse Apr 29, 2026
2bcc97b
test: audit coroutine tests
Ayuse Apr 29, 2026
d700901
test: audit resolve tests
Ayuse Apr 29, 2026
a596a26
test: audit overloaded test
Ayuse Apr 29, 2026
67d26c0
test: audit trivial-bounds test
Ayuse Apr 29, 2026
4dd5006
test: audit traits tests
Ayuse Apr 29, 2026
6861f59
test: audit traits tests
Ayuse Apr 29, 2026
e220127
test: audit recursion test
Ayuse Apr 29, 2026
0f04874
test: audit ptr_ops test
Ayuse Apr 29, 2026
e54eeb5
test: audit lexer test
Ayuse Apr 29, 2026
103b933
test: audit match tests
Ayuse Apr 29, 2026
b033260
test: audit windows-subsystem tests
Ayuse Apr 29, 2026
068fd2c
test: audit liveness test
Ayuse Apr 29, 2026
827cbdf
test: audit const-generics test
Ayuse Apr 29, 2026
e806a94
test: audit ergonomic-clones test
Ayuse Apr 29, 2026
d7de6d6
test: audit rfcs tests
Ayuse Apr 29, 2026
b116795
test: audit simd tests
Ayuse Apr 29, 2026
0c301bf
test: audit label test
Ayuse Apr 29, 2026
1fedd06
test: audit block-result test
Ayuse Apr 29, 2026
fc088f0
test: audit async-await tests
Ayuse Apr 29, 2026
61ffc83
test: audit expr tests
Ayuse Apr 29, 2026
0b2eebe
test: audit impl-header-lifetime-elision test
Ayuse Apr 29, 2026
0590aa6
test: audit return tests
Ayuse Apr 29, 2026
f61f200
test: audit imports tests
Ayuse Apr 29, 2026
866d83d
test: audit parser tests
Ayuse Apr 29, 2026
6976223
test: audit parser tests
Ayuse Apr 29, 2026
6a73b0e
test: audit packed test
Ayuse Apr 29, 2026
c553b09
test: audit binding tests
Ayuse Apr 29, 2026
ec949db
test: audit codegen test
Ayuse Apr 29, 2026
ee58acc
test: audit tool-attributes tests
Ayuse Apr 29, 2026
3438c90
test: audit lifetimes tests
Ayuse Apr 29, 2026
3bcdd9f
test: audit rustc-env test
Ayuse Apr 29, 2026
2df0990
test: audit abi test
Ayuse Apr 29, 2026
083070c
test: audit coherence tests
Ayuse Apr 29, 2026
4de1978
test: audit borrowck tests
Ayuse Apr 29, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion tests/ui/abi/relocation_model_pic.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
//@ compile-flags: -C relocation-model=pic
//@ needs-relocation-model-pic

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/array-slice-vec/array_const_index-2.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(dead_code)]

fn main() {
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/array-slice-vec/cast-in-array-size.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass


// issues #10618 and #16382
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/array-slice-vec/copy-out-of-array-1.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ build-pass

// Ensure that we can copy out of a fixed-size array.
//
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/array-slice-vec/empty-mutable-vec.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass


#![allow(unused_mut)]
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/array-slice-vec/issue-15730.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(unused_mut)]
#![allow(unused_variables)]

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/array-slice-vec/issue-18425.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ build-pass
// Check that codegen doesn't ICE when codegenning an array repeat
// expression with a count of 1 and a non-Copy element type.

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/array-slice-vec/ivec-pass-by-value.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ build-pass

fn f(_a: Vec<isize> ) { }
pub fn main() { f(vec![1, 2, 3, 4, 5]); }
2 changes: 1 addition & 1 deletion tests/ui/array-slice-vec/mut-vstore-expr.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass

pub fn main() {
let _x: &mut [isize] = &mut [ 1, 2, 3 ];
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/array-slice-vec/vec-macro-with-brackets.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(unused_variables)]


Expand Down
2 changes: 1 addition & 1 deletion tests/ui/array-slice-vec/vec-repeat-with-cast.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass


pub fn main() { let _a = [0; 1 as usize]; }
2 changes: 1 addition & 1 deletion tests/ui/array-slice-vec/vector-no-ann-2.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass


pub fn main() {
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/asm/empty_global_asm.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//@ needs-asm-support
//@ run-pass
//@ build-pass

use std::arch::global_asm;

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/asm/may_unwind.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ build-pass
//@ needs-asm-support
//@ needs-unwind
//@ ignore-backends: gcc
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
// Test equality constraints on associated types in a where clause.


Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
// Test that we evaluate projection predicates to winnow out
// candidates during trait selection and method resolution (#20296).
// If we don't properly winnow out candidates based on the output type
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(dead_code)]
// Check that we do not report ambiguities when equivalent predicates
// (modulo bound lifetime names) appears in the environment
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(dead_code)]
// Check that we do not report ambiguities when the same predicate
// appears in the environment twice. Issue #21965.
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/associated-types/associated-types-eq-obj.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
// Test equality constraints on associated types inside of an object type


Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass

trait Foo: Iterator<Item = i32> {}
trait Bar: Foo {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//@ edition:2015
//@ run-pass
//@ check-pass
#![allow(dead_code)]
#![allow(unused_mut)]
#![allow(unused_imports)]
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/associated-types/associated-types-issue-21212.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(unused_variables)]
// Regression test for #21212: an overflow occurred during trait
// checking where normalizing `Self::Input` led to normalizing the
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/associated-types/associated-types-method.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
// Test that methods whose impl-trait-ref contains associated types
// are supported.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(unused_variables)]
// Test that we can resolve nested projection types. Issue #20666.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(unused_variables)]
// Test that we normalize associated types that appear in a bound that
// contains a binding. Issue #21664.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
// Regression test for issue #21010: Normalize associated types in
// various special paths in the `type_is_immediate` function.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(dead_code)]
#![allow(unused_imports)]
// Corrected regression test for #20831. The original did not compile.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
// Test associated type references in structure fields.


Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ build-pass
#![allow(dead_code)]
// Regression test for #20582. This test caused an ICE related to
// inconsistent region erasure in codegen.
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/associated-types/associated-types-sugar-path.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(dead_code)]
#![allow(unused_variables)]
#![allow(unused_imports)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//@ edition:2015
//@ run-pass
//@ check-pass
#![allow(dead_code)]
#![allow(unused_imports)]
// Test how resolving a projection interacts with inference. In this
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/associated-types/issue-22828.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(dead_code)]
// Test transitive analysis for associated types. Collected types
// should be normalized and new obligations generated.
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/associated-types/issue-23208.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
trait TheTrait : TheSuperTrait<<Self as TheTrait>::Item> {
type Item;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/associated-types/issue-25339.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(dead_code)]
#![allow(unused_variables)]
#![feature(associated_type_defaults)]
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/associated-types/issue-47139-1.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
// Regression test for issue #47139:
//
// Coherence was encountering an (unnecessary) overflow trying to
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/associated-types/issue-47139-2.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
// Regression test for issue #47139:
//
// Same as issue-47139-1.rs, but the impls of dummy are in the
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/associated-types/issue-54467.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass

pub trait Stream {
type Item;
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/async-await/async-drop/ex-ice-132103.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ build-pass
//! This test used to ICE: rust-lang/rust#132103
//! Fixed when re-work async drop to shim drop glue coroutine scheme.
//@ compile-flags: -Zvalidate-mir -Zinline-mir=yes
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/async-await/issue-60709.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//@ compile-flags: -Copt-level=z -Cdebuginfo=2
//@ edition: 2018

//@ run-pass
//@ build-pass

use std::future::Future;
use std::task::Poll;
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/async-await/issues/issue-54752-async-block.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass

//@ edition:2018
//@ pp-exact
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/async-await/issues/issue-55809.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//@ edition:2018
//@ run-pass
//@ check-pass

trait Foo { }

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/async-await/issues/issue-59972.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// types as entirely uninhabited, when they were in fact constructible. This
// caused us to hit "unreachable" code (illegal instruction on x86).

//@ run-pass
//@ check-pass

//@ compile-flags: -Aunused
//@ edition: 2018
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/async-await/multiple-lifetimes/elided.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//@ edition:2018
//@ run-pass
//@ check-pass

// Test that we can use async fns with multiple arbitrary lifetimes.

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/async-await/multiple-lifetimes/fn-ptr.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//@ edition:2018
//@ run-pass
//@ check-pass

// Test that we can use async fns with multiple arbitrary lifetimes.

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/async-await/multiple-lifetimes/named.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//@ edition:2018
//@ run-pass
//@ check-pass

// Test that we can use async fns with multiple arbitrary lifetimes.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//@ edition:2018
//@ run-pass
//@ check-pass

async fn lotsa_lifetimes<'a, 'b, 'c>(a: &'a u32, b: &'b u32, c: &'c u32) -> (&'a u32, &'b u32)
where 'b: 'a
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//@ edition:2018
//@ run-pass
//@ check-pass

// Test member constraints that appear in the `impl Trait`
// return type of an async function.
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/auto-traits/auto-is-contextual.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass

#![allow(path_statements)]
#![allow(dead_code)]
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/auto-traits/auto-traits-type-parameter.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! Checks how type parameters interact with auto-traits like `Send` and `Sync` with implicit
//! bounds

//@ run-pass
//@ check-pass

#![allow(non_camel_case_types)]
#![allow(dead_code)]
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/auto-traits/auto-traits.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(unused_doc_comments)]
#![feature(auto_traits)]
#![feature(negative_impls)]
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/bench/issue-32062.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass


fn main() {
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/binding/expr-match-panic-all.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ build-pass



Expand Down
2 changes: 1 addition & 1 deletion tests/ui/binding/inconsistent-lifetime-mismatch.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(dead_code)]

fn foo(_: &[&str]) {}
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/binding/match-bot-2.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ build-pass
#![allow(unreachable_code)]
// n.b. This was only ever failing with optimization disabled.

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/binding/match-larger-const.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#[derive(Eq, PartialEq)]
pub struct Data([u8; 4]);

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/binding/match-naked-record-expr.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass

struct X { x: isize }

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/binding/match-path.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(dead_code)]
#![allow(non_camel_case_types)]

Expand Down
2 changes: 1 addition & 1 deletion tests/ui/binding/match-pattern-simple.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(dead_code)]


Expand Down
2 changes: 1 addition & 1 deletion tests/ui/binding/match-phi.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ build-pass
#![allow(dead_code)]
#![allow(unused_assignments)]
#![allow(non_camel_case_types)]
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/binding/match-range-static.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass
#![allow(non_upper_case_globals)]

const s: isize = 1;
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/binding/match-value-binding-in-guard-3291.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ check-pass

fn foo(x: Option<Box<isize>>, b: bool) -> isize {
match x {
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/binding/nil-pattern.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
//@ run-pass
//@ check-pass

pub fn main() { let x = (); match x { () => { } } }
2 changes: 1 addition & 1 deletion tests/ui/binding/optional_comma_in_match_arm.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//@ run-pass
//@ build-pass
#![allow(unused_unsafe)]
#![allow(while_true)]

Expand Down
Loading