Skip to content

Commit

Permalink
still broken.. i dont think related is the way to go
Browse files Browse the repository at this point in the history
  • Loading branch information
chanced committed Jan 25, 2025
1 parent ab8d1e9 commit 75ec606
Show file tree
Hide file tree
Showing 5 changed files with 126 additions and 120 deletions.
104 changes: 20 additions & 84 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ rust-version = "1.79.0"
version = "0.6.3"

[dependencies]
miette = { version = "7.2.0", optional = true, features = ["fancy"] }
miette = { version = "7.4.0", optional = true, features = ["fancy"] }
serde = { version = "1.0.203", optional = true, features = ["alloc"] }
serde_json = { version = "1.0.119", optional = true, features = ["alloc"] }
toml = { version = "0.8", optional = true }
Expand Down
3 changes: 2 additions & 1 deletion src/assign.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ use crate::{
};
use alloc::borrow::Cow;
use core::{
convert::Infallible,
fmt::{self, Debug},
iter::once,
};
Expand Down Expand Up @@ -230,7 +231,7 @@ impl fmt::Display for Error {

impl Diagnostic for Error {
type Subject = PointerBuf;
type Related = ();
type Related = Infallible;

fn url() -> &'static str {
impl_diagnostic_url!(enum assign::Error)
Expand Down
Loading

0 comments on commit 75ec606

Please sign in to comment.