Skip to content

Commit 73476d8

Browse files
author
Ariel Ben-Yehuda
committed
move error.rs to error/mod.rs
1 parent cf8a955 commit 73476d8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/ui/span/issue-71363.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ help: the trait `std::fmt::Display` is not implemented for `MyError`
1010
3 | struct MyError;
1111
| ^^^^^^^^^^^^^^
1212
note: required by a bound in `std::error::Error`
13-
--> $SRC_DIR/core/src/error.rs:LL:COL
13+
--> $SRC_DIR/core/src/error/mod.rs:LL:COL
1414

1515
error[E0277]: `MyError` doesn't implement `Debug`
1616
--> $DIR/issue-71363.rs:4:28
@@ -20,7 +20,7 @@ error[E0277]: `MyError` doesn't implement `Debug`
2020
|
2121
= note: add `#[derive(Debug)]` to `MyError` or manually `impl Debug for MyError`
2222
note: required by a bound in `std::error::Error`
23-
--> $SRC_DIR/core/src/error.rs:LL:COL
23+
--> $SRC_DIR/core/src/error/mod.rs:LL:COL
2424
help: consider annotating `MyError` with `#[derive(Debug)]`
2525
|
2626
3 + #[derive(Debug)]

0 commit comments

Comments
 (0)