We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe0d722 commit d53a6feCopy full SHA for d53a6fe
src/error.rs
@@ -442,7 +442,7 @@ impl ser::Error for Error {
442
443
// TODO: remove me in 0.4 version.
444
#[cold]
445
-pub fn make_error(mut msg: String) -> Error {
+pub(crate) fn make_error(mut msg: String) -> Error {
446
let (line, column) = parse_line_col(&mut msg).unwrap_or((0, 0));
447
Error {
448
err: Box::new(ErrorImpl {
src/lib.rs
@@ -3,7 +3,7 @@
3
#![doc(test(attr(warn(unused))))]
4
5
mod config;
6
-mod error;
+pub mod error;
7
mod index;
8
mod input;
9
mod parser;
0 commit comments