Explorer: fix assignment error typo (#2746)

Fix typo in error message from expression categories renaming
This commit is contained in:
Adrien Leravat authored and GitHub committed 2023-04-06 16:48:51 -07:00
1 parent 65578bd8db
commit 8cb3f00f1b
9 files changed
+10 -11

No files matched your search

@@ -12,7 +12,7 @@ fn F() {}
fn G() {}
fn Main() -> i32 {
// CHECK:STDERR: COMPILATION ERROR: {{.*}}/explorer/testdata/basic_syntax/fail_assign_to_function.carbon:[[@LINE+1]]: Only assign a reference expression can be assigned, but got `'F`'
// CHECK:STDERR: COMPILATION ERROR: {{.*}}/explorer/testdata/basic_syntax/fail_assign_to_function.carbon:[[@LINE+1]]: Only a reference expression can be assigned to, but got `F`
F = G;
return 0;
}