Skip to content
Snippets Groups Projects
Commit 13f39ed8 authored by Nick Mathewson's avatar Nick Mathewson :family:
Browse files

Minimal compilation fix: InternalError=>Bug

This is a followup for !314 and !310 to fix compilation on main.
parent 7b6a7a57
No related branches found
No related tags found
No related merge requests found
......@@ -293,7 +293,7 @@ pub(crate) enum ParseErrorSource {
Protovers(#[from] tor_protover::ParseError),
/// Internal error.
#[error("Internal error")]
Internal(#[from] tor_error::InternalError),
Internal(#[from] tor_error::Bug),
}
impl ParseErrorKind {
......@@ -457,7 +457,7 @@ declare_into! { tor_bytes::Error => Undecodable }
declare_into! { std::num::ParseIntError => BadArgument }
declare_into! { std::net::AddrParseError => BadArgument }
declare_into! { PolicyError => BadPolicy }
declare_into! { tor_error::InternalError => Internal }
declare_into! { tor_error::Bug => Internal }
/// An error that occurs while trying to construct a network document.
#[derive(Clone, Debug, Error)]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment