Skip to content

Commit 76455af

Browse files
authored
Unrolled build for #155947
Rollup merge of #155947 - SynapLink:cleanup/check-pass-variance-tests, r=nnethercote tests: mark simple UI tests as check-pass This changes 14 simple UI tests from build-pass to check-pass. These tests cover type checking, trait bounds, closure inference, deprecation diagnostics, dyn compatibility, and variance. They do not need codegen or linking, so check-pass keeps the intended coverage while removing old FIXME(62277) markers.
2 parents 37d85e5 + b19b0e5 commit 76455af

14 files changed

Lines changed: 14 additions & 14 deletions

tests/ui/associated-consts/associated-const-trait-bound.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ build-pass (FIXME(62277): could be check-pass?)
1+
//@ check-pass
22

33
trait ConstDefault {
44
const DEFAULT: Self;

tests/ui/associated-type-bounds/entails-sized-dyn-compatibility.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ build-pass (FIXME(62277): could be check-pass?)
1+
//@ check-pass
22

33
trait Tr1: Sized { type As1; }
44
trait Tr2<'a>: Sized { type As2; }

tests/ui/associated-type-bounds/trait-params.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ build-pass (FIXME(62277): could be check-pass?)
1+
//@ check-pass
22

33
use std::iter::Once;
44
use std::ops::Range;

tests/ui/closure-expected-type/expect-fn-supply-fn-multiple.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ build-pass (FIXME(62277): could be check-pass?)
1+
//@ check-pass
22

33
#![allow(warnings)]
44

tests/ui/closure-expected-type/expect-infer-var-supply-ty-with-bound-region.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ build-pass (FIXME(62277): could be check-pass?)
1+
//@ check-pass
22

33
fn with_closure<F, A>(_: F)
44
where F: FnOnce(A, &u32)

tests/ui/closure-expected-type/expect-infer-var-supply-ty-with-free-region.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ build-pass (FIXME(62277): could be check-pass?)
1+
//@ check-pass
22

33
fn with_closure<F, A>(_: F)
44
where F: FnOnce(A, &u32)

tests/ui/closures/closure_promotion.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ build-pass (FIXME(62277): could be check-pass?)
1+
//@ check-pass
22

33
fn main() {
44
let x: &'static _ = &|| { let z = 3; z };

tests/ui/coherence/coherence_copy_like_err_fundamental_struct.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// `MyType: !MyTrait` along with other "fundamental" wrappers.
33

44
//@ aux-build:coherence_copy_like_lib.rs
5-
//@ build-pass (FIXME(62277): could be check-pass?)
5+
//@ check-pass
66
// skip-codgen
77
#![allow(dead_code)]
88

tests/ui/deprecation/derive_on_deprecated.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ build-pass (FIXME(62277): could be check-pass?)
1+
//@ check-pass
22

33
#![deny(deprecated)]
44

tests/ui/deprecation/derive_on_deprecated_forbidden.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ build-pass (FIXME(62277): could be check-pass?)
1+
//@ check-pass
22

33
#![forbid(deprecated)]
44

0 commit comments

Comments
 (0)