We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
warning: broken MIR (Terminator { source_info: SourceInfo { span: src/bin/test.rs:10:5: 10:15, scope: scope3 }, kind: replace(_1 <- _9) -> [return: bb15, unwind: bb14] }): bad DropAndReplace (std::option::Option<image::ImageBuffer<image::Luma, std::vec::Vec<<image::Luma as image::Pixel>::Subpixel>>> = std::option::Option<image::ImageBuffer<image::Luma, std::vec::Vec>>): Sorts(ExpectedFound { expected: <image::Luma as image::Pixel>::Subpixel, found: u8 }) --> src/bin/test.rs:10:18 | 10 | reassigned = Some(returned); | ^^^^^^^^^^^^^^
extern crate imageproc; extern crate image; fn main() { let mut reassigned: Option<imageproc::definitions::VecBuffer<image::Luma<u8>>> = None; let img = image::ImageBuffer::from_raw(1, 1, Vec::new()).unwrap(); let returned = imageproc::filter::box_filter(&img, 3, 3); reassigned = Some(returned); }
rustc 1.16.0-nightly (df8debf 2017-01-25)
[[package]] name = "imageproc" version = "0.7.0" [[package]] name = "image" version = "0.12.2"
The text was updated successfully, but these errors were encountered:
I've found the type should be image::ImageBuffer<image::Luma<u8>, std::vec::Vec<u8>>, so it's probably related to #38135
image::ImageBuffer<image::Luma<u8>, std::vec::Vec<u8>>
Sorry, something went wrong.
more through normalization in typeck & trans
ca87082
Fixes rust-lang#27901. Fixes rust-lang#28828. Fixes rust-lang#38135. Fixes rust-lang#39363.
Auto merge of #40163 - arielb1:normalization-1702, r=nikomatsakis
8c6c0f8
More through normalization, Feb/Mar 2017 edition Fix a few normalization bugs. Fixes #27901. Fixes #28828. Fixes #38135. Fixes #39363. Fixes #39367.
arielb1
No branches or pull requests
rustc 1.16.0-nightly (df8debf 2017-01-25)
The text was updated successfully, but these errors were encountered: