Fork point for agent-zed. Editor core retained; AI/telemetry/cloud layers to be ripped and replaced per FORK_MAP.md. Co-Authored-By: Claude Opus 4.8 <[email protected]>
13 lines
293 B
Rust
13 lines
293 B
Rust
#[test]
|
|
fn test_derive_context() {
|
|
use gpui::{App, Window};
|
|
use gpui_macros::{AppContext, VisualContext};
|
|
|
|
#[derive(AppContext, VisualContext)]
|
|
struct _MyCustomContext<'a, 'b> {
|
|
#[app]
|
|
app: &'a mut App,
|
|
#[window]
|
|
window: &'b mut Window,
|
|
}
|
|
}
|