Skip to content

Commit b3f6489

Browse files
committed
Add comment for guessed constants
1 parent 3c6d1a7 commit b3f6489

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_mir_transform/src/dataflow_const_prop.rs

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ use rustc_span::DUMMY_SP;
1313

1414
use crate::MirPass;
1515

16+
// These constants are somewhat random guesses and have not been optimized.
1617
const BLOCK_LIMIT: usize = 100;
1718
const PLACE_LIMIT: usize = 100;
1819

0 commit comments

Comments
 (0)