Skip to content

Commit 10304dd

Browse files
committed
Use $DIR
Signed-off-by: Christian Poveda <[email protected]>
1 parent dd62619 commit 10304dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cyclonedx-bom-macros/tests/ui/fail/duplicated_struct.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0428]: the name `Foo` is defined multiple times
2-
--> tests/ui/fail/duplicated_struct.rs:10:5
2+
--> $DIR/duplicated_struct.rs:10:5
33
|
44
7 | pub struct Foo;
55
| --------------- previous definition of the type `Foo` here
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: cannot parse module: expected `mod` while using the `#[versioned]` macro
2-
--> tests/ui/fail/struct.rs:4:1
2+
--> $DIR/struct.rs:4:1
33
|
44
4 | struct Foo;
55
| ^^^^^^

0 commit comments

Comments
 (0)