mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 19:23:50 +00:00
674a3d5c1c
Fixes #88696
15 lines
250 B
Rust
15 lines
250 B
Rust
// This test case should ensure that miniz_oxide isn't
|
|
// suggested, since it's not a direct dependency.
|
|
|
|
fn a() -> Result<u64, i32> {
|
|
Err(1)
|
|
}
|
|
|
|
fn b() -> Result<u32, i32> {
|
|
a().into() //~ERROR [E0277]
|
|
}
|
|
|
|
fn main() {
|
|
let _ = dbg!(b());
|
|
}
|