Implement checking observe declarations (#6709)

This adds SemIR structs and implements building `observe` lists, as well
as naming, formatting, and importing `observe` declarations.

---------

Co-authored-by: Dana Jansens <danakj@orodu.net>
This commit is contained in:
Özgür T. ÖnsoyandDana Jansens authored and GitHub committed 2026-07-08 17:07:10 +00:00
1 parent 918bb9364f
commit 08385adeb5
713 files changed
+13013 -13

No files matched your search

@@ -56,5 +56,7 @@ fn A() {
// CHECK:STDOUT: %.loc25: ref <error> = deref <error> [concrete = <error>]
// CHECK:STDOUT: %foo.ref: <error> = name_ref foo, <error> [concrete = <error>]
// CHECK:STDOUT: return
// CHECK:STDOUT:
// CHECK:STDOUT: !observes:
// CHECK:STDOUT: }
// CHECK:STDOUT: