Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/parse_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,4 @@ impl fmt::Display for ParseError {
}
}

#[cfg(feature = "std")]
impl std::error::Error for ParseError {}
impl core::error::Error for ParseError {}

@bjorn3 bjorn3 Jun 8, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The MSRV is 1.34. core::error::Error doesn't exist until 1.81. You may need to add something like

target-lexicon/build.rs

Lines 55 to 57 in 2d53442

if using_1_40() {
println!("cargo:rustc-cfg=feature=\"rust_1_40\"");
}

Loading