We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Results
ResultsCursor
1 parent a88dc37 commit 9e45e90Copy full SHA for 9e45e90
compiler/rustc_mir/src/dataflow/framework/cursor.rs
@@ -68,7 +68,12 @@ where
68
self.body
69
}
70
71
- /// Returns the `Analysis` used to generate the underlying results.
+ /// Returns the underlying `Results`.
72
+ pub fn results(&self) -> &Results<'tcx, A> {
73
+ &self.results.borrow()
74
+ }
75
+
76
+ /// Returns the `Analysis` used to generate the underlying `Results`.
77
pub fn analysis(&self) -> &A {
78
&self.results.borrow().analysis
79
0 commit comments