Skip to content

Commit

Permalink
minor: Update error output for the latest beta
Browse files Browse the repository at this point in the history
  • Loading branch information
vrurg committed Dec 1, 2024
1 parent 0a163d3 commit 9a94a8d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ error[E0277]: the trait bound `Foo: Deserialize<'_>` is not satisfied
--> tests/uncompilable_serde/deserialize_off.rs
|
| let _json = serde_json::from_str::<Foo>(r#"{"v": "whatever"}"#);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Foo`
| ^^^ the trait `Deserialize<'_>` is not implemented for `Foo`
|
= note: for local types consider adding `#[derive(serde::Deserialize)]` to your `Foo` type
= note: for types from other crates check whether the crate offers a `serde` feature flag
Expand Down

0 comments on commit 9a94a8d

Please sign in to comment.