We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a10582 commit ea061d8Copy full SHA for ea061d8
tests/incremental/track-deps-in-new-solver.rs
@@ -0,0 +1,25 @@
1
+//@ revisions: cfail1 cfail2
2
+
3
+//@ compile-flags: -Znext-solver
4
+//@ check-pass
5
6
+pub trait Future {
7
+ type Error;
8
+ fn poll() -> Self::Error;
9
+}
10
11
+struct S;
12
+impl Future for S {
13
+ type Error = Error;
14
+ fn poll() -> Self::Error {
15
+ todo!()
16
+ }
17
18
19
+#[cfg(cfail1)]
20
+pub struct Error(());
21
22
+#[cfg(cfail2)]
23
+pub struct Error();
24
25
+fn main() {}
0 commit comments