]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_typeck/src/check/expr.rs
Rollup merge of #100823 - WaffleLapkin:less_offsets, r=scottmcm
[rust.git] / compiler / rustc_typeck / src / check / expr.rs
index 93b00850069c277e18eea35b30367b11386c32b7..23fadff3248c85ab0f92e29a572037886624c4de 100644 (file)
@@ -881,7 +881,7 @@ pub(crate) fn check_lhs_assignable(
             return;
         }
 
-        // FIXME: Make this use SessionDiagnostic once error codes can be dynamically set.
+        // FIXME: Make this use Diagnostic once error codes can be dynamically set.
         let mut err = self.tcx.sess.struct_span_err_with_code(
             op_span,
             "invalid left-hand side of assignment",