diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-05-25 23:58:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-25 23:58:56 +0200 |
| commit | a7ff5a00775ca8db59077307b0b9eb706f907941 (patch) | |
| tree | f1f780332b987c63d59211028b717b6f3162a086 /src/libcore | |
| parent | 0498845e54baf8f3bf493de39009d2d175dbd374 (diff) | |
| parent | 16ba3e129d5d37c63b7000fcd4b52261e7f1c4f1 (diff) | |
Rollup merge of #72450 - csmoe:issue-72442, r=oli-obk
Fix ice-#72442 Closes #72442 Closes #72426 r? @oli-obk
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/ops/try.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/ops/try.rs b/src/libcore/ops/try.rs index 996a01d413c..e15ea11569f 100644 --- a/src/libcore/ops/try.rs +++ b/src/libcore/ops/try.rs @@ -25,6 +25,7 @@ ) )] #[doc(alias = "?")] +#[cfg_attr(not(bootstrap), lang = "try")] pub trait Try { /// The type of this value when viewed as successful. #[unstable(feature = "try_trait", issue = "42327")] |
