We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7e0038 commit a7f29eeCopy full SHA for a7f29ee
tests/incremental/rpitit-feeding.rs
@@ -1,4 +1,4 @@
1
-// revisions: cpass cpass2
+// revisions: cpass cpass2 cpass3
2
3
// This test checks that creating a new `DefId` from within a query `A`
4
// recreates that `DefId` before reexecuting queries that depend on query `A`.
@@ -13,10 +13,18 @@ trait Foo {
13
fn foo() -> impl Sized;
14
}
15
16
+#[cfg(any(cpass, cpass3))]
17
impl Foo for String {
18
fn foo() -> i32 {
19
22
20
21
23
+#[cfg(cpass2)]
24
+impl Foo for String {
25
+ fn foo() -> u32 {
26
+ 22
27
+ }
28
+}
29
+
30
fn main() {}
0 commit comments