Skip to content

Commit 1e81f9a

Browse files
Update tests, etc
1 parent a4974fa commit 1e81f9a

32 files changed

+32
-32
lines changed

src/test/rustdoc-ui/z-help.stdout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
-Z branch-protection=val -- set options for branch target identification and pointer authentication on AArch64
99
-Z cf-protection=val -- instrument control-flow architecture protection
1010
-Z cgu-partitioning-strategy=val -- the codegen unit partitioning strategy to use
11-
-Z chalk=val -- enable the experimental Chalk-based trait solving engine
1211
-Z codegen-backend=val -- the backend to use
1312
-Z combine-cgu=val -- combine CGUs into a single one
1413
-Z crate-attr=val -- inject the given attribute in the crate
@@ -175,6 +174,7 @@
175174
-Z tls-model=val -- choose the TLS model to use (`rustc --print tls-models` for details)
176175
-Z trace-macros=val -- for every macro invocation, print its name and arguments (default: no)
177176
-Z track-diagnostics=val -- tracks where in rustc a diagnostic was emitted
177+
-Z trait-solver=val -- specify the trait solver mode used by rustc (default: stock)
178178
-Z translate-additional-ftl=val -- additional fluent translation to preferentially use (for testing translation)
179179
-Z translate-directionality-markers=val -- emit directionality isolation markers in translated diagnostics
180180
-Z translate-lang=val -- language identifier for diagnostic output

src/test/ui/chalkify/arithmetic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// check-pass
2-
// compile-flags: -Z chalk
2+
// compile-flags: -Z trait-solver=chalk
33

44
fn main() {
55
1 + 2;

src/test/ui/chalkify/assert.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// run-pass
2-
// compile-flags: -Z chalk
2+
// compile-flags: -Z trait-solver=chalk
33

44
fn main() {
55
assert_eq!(1, 1);

src/test/ui/chalkify/basic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// check-pass
2-
// compile-flags: -Z chalk
2+
// compile-flags: -Z trait-solver=chalk
33

44
trait Foo {}
55

src/test/ui/chalkify/bugs/async.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// check-fail
22
// known-bug: unknown
3-
// compile-flags: -Z chalk --edition=2021
3+
// compile-flags: -Z trait-solver=chalk --edition=2021
44

55
fn main() -> () {}
66

src/test/ui/chalkify/builtin-copy-clone.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// run-pass
2-
// compile-flags: -Z chalk
2+
// compile-flags: -Z trait-solver=chalk
33

44
// Test that `Clone` is correctly implemented for builtin types.
55

src/test/ui/chalkify/chalk_initial_program.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// compile-flags: -Z chalk
1+
// compile-flags: -Z trait-solver=chalk
22

33
trait Foo { }
44

src/test/ui/chalkify/closure.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// compile-flags: -Z chalk
1+
// compile-flags: -Z trait-solver=chalk
22

33
fn main() -> () {
44
let t = || {};

src/test/ui/chalkify/generic_impls.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// compile-flags: -Z chalk
1+
// compile-flags: -Z trait-solver=chalk
22

33
trait Foo { }
44

src/test/ui/chalkify/impl_wf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// compile-flags: -Z chalk
1+
// compile-flags: -Z trait-solver=chalk
22

33
trait Foo: Sized { }
44

0 commit comments

Comments
 (0)