Skip to content

Commit 3317c00

Browse files
committed
Add or remove issue numbers for a few tests
1 parent 133feba commit 3317c00

File tree

5 files changed

+5
-3
lines changed

5 files changed

+5
-3
lines changed

tests/ui/deprecation/deprecation-sanity.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ mod inner {
4343
pub struct Y;
4444
}
4545

46+
// Deprecation does not work on re-exports, so let's be clear about that.
47+
// https://github.com/rust-lang/rust/issues/142436
4648
#[deprecated] //~ ERROR this `#[deprecated]` annotation has no effect
4749
pub use inner::Y;
4850

tests/ui/deprecation/deprecation-sanity.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ LL | #[deprecated = "hello"]
155155
= note: `#[deny(useless_deprecated)]` on by default
156156

157157
error: this `#[deprecated]` annotation has no effect
158-
--> $DIR/deprecation-sanity.rs:46:1
158+
--> $DIR/deprecation-sanity.rs:48:1
159159
|
160160
LL | #[deprecated]
161161
| ^^^^^^^^^^^^^ help: remove the unnecessary deprecation attribute
File renamed without changes.

tests/ui/imports/unused-import-issue-87973.stderr renamed to tests/ui/imports/unused-import.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
error: unused import: `std::fs`
2-
--> $DIR/unused-import-issue-87973.rs:9:5
2+
--> $DIR/unused-import.rs:9:5
33
|
44
LL | use std::fs;
55
| ^^^^^^^
66
|
77
note: the lint level is defined here
8-
--> $DIR/unused-import-issue-87973.rs:2:9
8+
--> $DIR/unused-import.rs:2:9
99
|
1010
LL | #![deny(unused_imports)]
1111
| ^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)