diff options
| author | Kivooeo <Kivooeo123@gmail.com> | 2025-07-01 20:20:14 +0500 |
|---|---|---|
| committer | Kivooeo <Kivooeo123@gmail.com> | 2025-07-13 00:03:31 +0500 |
| commit | 47b8a32ca311e2c441f4e7d747bfd75f0045baa1 (patch) | |
| tree | 081904d1f6314f1ba20a7aabfe52a2a02dc95a16 /tests/ui/try-from-int-error-partial-eq.rs | |
| parent | bfc046a4b8d6b57db02540182466e989a9b0fb40 (diff) | |
| download | rust-47b8a32ca311e2c441f4e7d747bfd75f0045baa1.tar.gz rust-47b8a32ca311e2c441f4e7d747bfd75f0045baa1.zip | |
moved tests
Diffstat (limited to 'tests/ui/try-from-int-error-partial-eq.rs')
| -rw-r--r-- | tests/ui/try-from-int-error-partial-eq.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/ui/try-from-int-error-partial-eq.rs b/tests/ui/try-from-int-error-partial-eq.rs deleted file mode 100644 index 66a78b3f842..00000000000 --- a/tests/ui/try-from-int-error-partial-eq.rs +++ /dev/null @@ -1,12 +0,0 @@ -//@ run-pass - -#![allow(unused_must_use)] - -use std::convert::TryFrom; -use std::num::TryFromIntError; - -fn main() { - let x: u32 = 125; - let y: Result<u8, TryFromIntError> = u8::try_from(x); - y == Ok(125); -} |
