mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-22 18:02:37 +00:00
Explorer: fix assignment error typo (#2746)
Fix typo in error message from expression categories renaming
This commit is contained in:
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;
|
||||
}
|
||||
Reference in new issue
Block a user