Merge branch 'main' into divs

This commit is contained in:
Nathan Sobo 2023-08-22 16:35:56 -06:00
commit d375f7992d
277 changed files with 19044 additions and 8896 deletions

View file

@ -14,6 +14,3 @@ lazy_static.workspace = true
proc-macro2 = "1.0"
syn = "1.0"
quote = "1.0"
[dev-dependencies]
gpui = { path = "../gpui" }

View file

@ -1,14 +0,0 @@
use gpui::{elements::Empty, Element, ViewContext};
// use gpui_macros::Element;
#[test]
fn test_derive_render_element() {
#[derive(Element)]
struct TestElement {}
impl TestElement {
fn render<V: 'static>(&mut self, _: &mut V, _: &mut ViewContext<V>) -> impl Element<V> {
Empty::new()
}
}
}