]> git.lizzy.rs Git - rust.git/blob - src/test/ui/typeck/issue-46112.rs
Auto merge of #100578 - Urgau:float-next-up-down, r=scottmcm
[rust.git] / src / test / ui / typeck / issue-46112.rs
1 // Issue 46112: An extern crate pub re-exporting libcore was causing
2 // paths rooted from `std` to be misrendered in the diagnostic output.
3
4 // ignore-windows
5 // aux-build:xcrate-issue-46112-rexport-core.rs
6
7 extern crate xcrate_issue_46112_rexport_core;
8 fn test(r: Result<Option<()>, &'static str>) { }
9 fn main() { test(Ok(())); }
10 //~^ mismatched types