Skip to content

Commit 4ce6698

Browse files
committed
moved renamed docs stderr fixed | illegal-ufcs-drop.rs
1 parent 14eb22f commit 4ce6698

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

tests/ui/illegal-ufcs-drop.fixed renamed to tests/ui/drop/explicit-drop-call-error.fixed

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//! Test error for explicit destructor method calls via UFCS
2+
13
//@ run-rustfix
24

35
#![allow(dropping_references)]

tests/ui/illegal-ufcs-drop.rs renamed to tests/ui/drop/explicit-drop-call-error.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//! Test error for explicit destructor method calls via UFCS
2+
13
//@ run-rustfix
24

35
#![allow(dropping_references)]

tests/ui/illegal-ufcs-drop.stderr renamed to tests/ui/drop/explicit-drop-call-error.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0040]: explicit use of destructor method
2-
--> $DIR/illegal-ufcs-drop.rs:12:5
2+
--> $DIR/explicit-drop-call-error.rs:14:5
33
|
44
LL | Drop::drop(&mut Foo)
55
| ^^^^^^^^^^

0 commit comments

Comments
 (0)