diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2022-02-15 02:00:21 -0500 |
|---|---|---|
| committer | Jacob Pratt <jacob@jhpratt.dev> | 2022-03-04 18:15:49 -0500 |
| commit | 6efc8e34d8b83de7f5b1e47d4bbbe0f2daa385f8 (patch) | |
| tree | 3584fabe76f9318369a15ea1e88dc057c4a345b7 /src/test/ui/issues | |
| parent | 9fcbc32053d5084d1de79bd484de82474cdae427 (diff) | |
| download | rust-6efc8e34d8b83de7f5b1e47d4bbbe0f2daa385f8.tar.gz rust-6efc8e34d8b83de7f5b1e47d4bbbe0f2daa385f8.zip | |
Change `rustc_deprecated` to use `note`
This keeps `reason` around for the time being. This is necessary to avoid breakage during the bootstrap process. This change, as a whole, brings `#[rustc_deprecated]` more in line with `#[deprecated]`.
Diffstat (limited to 'src/test/ui/issues')
| -rw-r--r-- | src/test/ui/issues/issue-17337.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/issues/issue-17337.rs b/src/test/ui/issues/issue-17337.rs index 3fd81401e00..04b3f894b94 100644 --- a/src/test/ui/issues/issue-17337.rs +++ b/src/test/ui/issues/issue-17337.rs @@ -7,7 +7,7 @@ struct Foo; impl Foo { #[unstable(feature = "unstable_test_feature", issue = "none")] - #[rustc_deprecated(since = "1.0.0", reason = "text")] + #[rustc_deprecated(since = "1.0.0", note = "text")] fn foo(self) {} } |
