rzk-0.11.4: test/typecheck/cases/warn-meta-prefix-option-structural.rzk
#lang rzk-1
-- Exercise standalone diagnostics independently of the safe-mode bundle.
#set-option "rstt-safe" = "off"
#set-option "warn-meta-prefix" = "structural"
#define my-id (X : U) (x : X) : X := x
-- Flagged only by the strict rule, so silenced at this sensitivity.
#define local-use (A : U) (a : A) : A
:= (\ (h : (X : U) → X → X) → h A a) my-id
-- An object-level position still warns under the structural rule.
#define stash : Σ (h : (X : U) → X → X), Unit := (my-id, unit)