diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/typeck/issue-46112.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/ui/typeck/issue-46112.rs b/src/test/ui/typeck/issue-46112.rs new file mode 100644 index 000000000..0cdd2c27f --- /dev/null +++ b/src/test/ui/typeck/issue-46112.rs @@ -0,0 +1,10 @@ +// Issue 46112: An extern crate pub re-exporting libcore was causing +// paths rooted from `std` to be misrendered in the diagnostic output. + +// ignore-windows +// aux-build:xcrate-issue-46112-rexport-core.rs + +extern crate xcrate_issue_46112_rexport_core; +fn test(r: Result<Option<()>, &'static str>) { } +fn main() { test(Ok(())); } +//~^ mismatched types |