We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2c3948 commit 017c0b5Copy full SHA for 017c0b5
compiler/rustc_middle/src/mir/mono.rs
@@ -56,6 +56,8 @@ impl<'tcx> MonoItem<'tcx> {
56
}
57
58
59
+ // Note: if you change how item size estimates work, you might need to
60
+ // change NON_INCR_MIN_CGU_SIZE as well.
61
pub fn size_estimate(&self, tcx: TyCtxt<'tcx>) -> usize {
62
match *self {
63
MonoItem::Fn(instance) => {
0 commit comments