ui_macros: Remove DerivePathStr macro (#30862)

This PR removes the `DerivePathStr` macro, as it is no longer used.

Also removes the `PathStaticStr` macro from `gpui_macros`, which was
also unused.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-05-17 12:05:55 +02:00 committed by GitHub
parent f56960ab5b
commit 03419da6f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 0 additions and 277 deletions

View file

@ -1,6 +1,5 @@
mod derive_app_context;
mod derive_into_element;
mod derive_path_static_str;
mod derive_render;
mod derive_visual_context;
mod register_action;
@ -31,12 +30,6 @@ pub fn derive_render(input: TokenStream) -> TokenStream {
derive_render::derive_render(input)
}
#[proc_macro_derive(PathStaticStr)]
#[doc(hidden)]
pub fn derive_path_static_str(input: TokenStream) -> TokenStream {
derive_path_static_str::derive_path_static_str(input)
}
/// #[derive(AppContext)] is used to create a context out of anything that holds a `&mut App`
/// Note that a `#[app]` attribute is required to identify the variable holding the &mut App.
///