internal: Fix hir-ty implicit serde derive feature

bad commit: 0dd3fe029a532c6c5fa3b0bdd7c4eb57843bb156
cwd: crates/hir-ty
cmd: cargo check
output: error: cannot find derive macro `Serialize` in this scope
This commit is contained in:
A4-Tacks 2025-12-21 15:02:42 +08:00
parent e3a8bae282
commit 3f296dee39
No known key found for this signature in database
GPG key ID: 9E63F956E66DD9C7
3 changed files with 3 additions and 1 deletions

View file

@ -903,6 +903,7 @@ dependencies = [
"salsa",
"salsa-macros",
"serde",
"serde_derive",
"smallvec",
"span",
"stdx",

View file

@ -19,6 +19,7 @@ arrayvec.workspace = true
smallvec.workspace = true
ena = "0.14.3"
serde.workspace = true
serde_derive.workspace = true
either.workspace = true
oorandom = "11.1.5"
tracing = { workspace = true, features = ["attributes"] }

View file

@ -1,5 +1,5 @@
use rustc_type_ir::{solve::GoalSource, solve::inspect::GoalEvaluation};
use serde::{Deserialize, Serialize};
use serde_derive::{Deserialize, Serialize};
use crate::next_solver::infer::InferCtxt;
use crate::next_solver::inspect::{InspectCandidate, InspectGoal};