-
Notifications
You must be signed in to change notification settings - Fork 12.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow
since="TBD"
for rustc_deprecated
- Loading branch information
bstrie
committed
Dec 16, 2020
1 parent
2ba7ca2
commit 1e1ca28
Showing
8 changed files
with
111 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 11 additions & 5 deletions
16
src/test/ui/deprecation/rustc_deprecation-in-future.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,20 @@ | ||
error: use of unit struct `S` that will be deprecated in future version 99.99.99: effectively never | ||
--> $DIR/rustc_deprecation-in-future.rs:14:13 | ||
error: use of unit struct `S1` that will be deprecated in future version 99.99.99: effectively never | ||
--> $DIR/rustc_deprecation-in-future.rs:18:13 | ||
| | ||
LL | let _ = S; | ||
| ^ | ||
LL | let _ = S1; | ||
| ^^ | ||
| | ||
note: the lint level is defined here | ||
--> $DIR/rustc_deprecation-in-future.rs:3:9 | ||
| | ||
LL | #![deny(deprecated_in_future)] | ||
| ^^^^^^^^^^^^^^^^^^^^ | ||
|
||
error: aborting due to previous error | ||
error: use of unit struct `S2` that will be deprecated in a future Rust version: literally never | ||
--> $DIR/rustc_deprecation-in-future.rs:19:13 | ||
| | ||
LL | let _ = S2; | ||
| ^^ | ||
|
||
error: aborting due to 2 previous errors | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters