Skip to content

Commit 38ee2e8

Browse files
committed
moved renamed docs stderr | double-type-import.rs
1 parent 33c334f commit 38ee2e8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tests/ui/double-type-import.rs renamed to tests/ui/imports/duplicate-use-bindings.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//! Test that duplicate use bindings in same namespace produce error
2+
13
mod foo {
24
pub use self::bar::X;
35
use self::bar::X;

tests/ui/double-type-import.stderr renamed to tests/ui/imports/duplicate-use-bindings.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0252]: the name `X` is defined multiple times
2-
--> $DIR/double-type-import.rs:3:9
2+
--> $DIR/duplicate-use-bindings.rs:5:9
33
|
44
LL | pub use self::bar::X;
55
| ------------ previous import of the type `X` here

0 commit comments

Comments
 (0)