]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_incremental/assert_module_sources.rs
Auto merge of #69555 - Centril:rollup-e53lxz4, r=Centril
[rust.git] / src / librustc_incremental / assert_module_sources.rs
index 293815cb52d29bb998f4dba6fd3ab20e882a2c55..4dd08b517e1f214527903f66a35f3945cb7bcd17 100644 (file)
@@ -81,10 +81,7 @@ fn check_attr(&self, attr: &ast::Attribute) {
         if !self.tcx.sess.opts.debugging_opts.query_dep_graph {
             self.tcx.sess.span_fatal(
                 attr.span,
-                &format!(
-                    "found CGU-reuse attribute but `-Zquery-dep-graph` \
-                          was not specified"
-                ),
+                "found CGU-reuse attribute but `-Zquery-dep-graph` was not specified",
             );
         }