Skip to content

Commit 85bfe07

Browse files
committed
use dump-solver-proof-tree in a test
1 parent 81e7a07 commit 85bfe07

File tree

2 files changed

+103
-0
lines changed

2 files changed

+103
-0
lines changed

tests/ui/traits/new-solver/alias_eq_simple.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
// check-pass
22
// compile-flags: -Ztrait-solver=next
3+
// compile-flags: -Zdump-solver-proof-tree=always
4+
// compile-flags: -Zdump-solver-proof-tree-use-cache=no
5+
6+
#![feature(rustc_attrs)]
7+
#![rustc_filter_proof_tree_dump(
8+
"Binder { value: TraitPredicate(<(i32, u32) as TraitA>, polarity:Positive), bound_vars: [] }"
9+
)]
310

411
// test that the new solver can handle `alias-eq(<i32 as TraitB>::Assoc, u32)`
512

0 commit comments

Comments
 (0)