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 ab84fd9 commit 836b3bbCopy full SHA for 836b3bb
src/librustc/session/mod.rs
@@ -900,7 +900,7 @@ impl Session {
900
/// This expends fuel if applicable, and records fuel if applicable.
901
#[inline(always)]
902
pub fn consider_optimizing<T: Fn() -> String>(&self, crate_name: &str, msg: T) -> bool {
903
- if likely!(self.optimization_fuel_crate.is_none()) {
+ if likely!(self.optimization_fuel_crate.is_none() && self.print_fuel_crate.is_none()) {
904
true
905
} else {
906
self.consider_optimizing_cold(crate_name, msg)
0 commit comments