Version 2.12.0-93.0.dev

Merge commit '64105a6a1539136c3a0da7ee4d2b15e85800f0b3' into 'dev'
diff --git a/pkg/analyzer/lib/src/generated/error_verifier.dart b/pkg/analyzer/lib/src/generated/error_verifier.dart
index 755e7d6..6a702cf 100644
--- a/pkg/analyzer/lib/src/generated/error_verifier.dart
+++ b/pkg/analyzer/lib/src/generated/error_verifier.dart
@@ -672,8 +672,9 @@
     }
     if (_checkForEachParts(node, loopVariable.identifier)) {
       if (loopVariable.isConst) {
-        _errorReporter.reportErrorForNode(
-            CompileTimeErrorCode.FOR_IN_WITH_CONST_VARIABLE, loopVariable);
+        _errorReporter.reportErrorForToken(
+            CompileTimeErrorCode.FOR_IN_WITH_CONST_VARIABLE,
+            loopVariable.keyword);
       }
     }
     super.visitForEachPartsWithDeclaration(node);
diff --git a/pkg/analyzer/test/src/diagnostics/for_in_with_const_variable_test.dart b/pkg/analyzer/test/src/diagnostics/for_in_with_const_variable_test.dart
index e2630c9..2289e70 100644
--- a/pkg/analyzer/test/src/diagnostics/for_in_with_const_variable_test.dart
+++ b/pkg/analyzer/test/src/diagnostics/for_in_with_const_variable_test.dart
@@ -18,11 +18,12 @@
   test_forEach_loopVariable() async {
     await assertErrorsInCode(r'''
 f() {
-  for (const x in [0, 1, 2]) {}
+  for (const x in [0, 1, 2]) {
+    print(x);
+  }
 }
 ''', [
-      error(CompileTimeErrorCode.FOR_IN_WITH_CONST_VARIABLE, 13, 7),
-      error(HintCode.UNUSED_LOCAL_VARIABLE, 19, 1),
+      error(CompileTimeErrorCode.FOR_IN_WITH_CONST_VARIABLE, 13, 5),
     ]);
   }
 }
diff --git a/tools/VERSION b/tools/VERSION
index a56a97d..4cf7961 100644
--- a/tools/VERSION
+++ b/tools/VERSION
@@ -27,5 +27,5 @@
 MAJOR 2
 MINOR 12
 PATCH 0
-PRERELEASE 92
+PRERELEASE 93
 PRERELEASE_PATCH 0
\ No newline at end of file