assistant2: Remove unneeded `#[allow(unused)]`s (#22979)

Marshall Bowers created

This PR removes some unneeded `#[allow(unused)]`s from the context types
in Assistant2.

We're using these fields now, so we no longer need to suppress the
unused lint.

Release Notes:

- N/A

Change summary

crates/assistant2/src/context.rs | 4 ----
1 file changed, 4 deletions(-)

Detailed changes

crates/assistant2/src/context.rs 🔗

@@ -98,9 +98,7 @@ pub struct FileContext {
 
 #[derive(Debug)]
 pub struct DirectoryContext {
-    #[allow(unused)]
     pub path: Rc<Path>,
-    #[allow(unused)]
     pub context_buffers: Vec<ContextBuffer>,
     pub snapshot: ContextSnapshot,
 }
@@ -127,10 +125,8 @@ pub struct ThreadContext {
 
 #[derive(Debug, Clone)]
 pub struct ContextBuffer {
-    #[allow(unused)]
     pub id: BufferId,
     pub buffer: Model<Buffer>,
-    #[allow(unused)]
     pub version: clock::Global,
     pub text: SharedString,
 }