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.
1 parent 6c93b47 commit 33f58baCopy full SHA for 33f58ba
src/librustc_data_structures/obligation_forest/mod.rs
@@ -263,7 +263,7 @@ impl<O: ForestObligation> ObligationForest<O> {
263
done_cache: Default::default(),
264
waiting_cache: Default::default(),
265
scratch: Some(vec![]),
266
- obligation_tree_id_generator: (0..).map(|i| ObligationTreeId(i)),
+ obligation_tree_id_generator: (0..).map(ObligationTreeId),
267
error_cache: Default::default(),
268
}
269
0 commit comments