]> git.lizzy.rs Git - rust.git/blob - src/test/ui/cross-crate/xcrate_generic_fn_nested_return.rs
Rollup merge of #98640 - cuviper:stable-rust-analyzer, r=Mark-Simulacrum
[rust.git] / src / test / ui / cross-crate / xcrate_generic_fn_nested_return.rs
1 // run-pass
2 // aux-build:xcrate_generic_fn_nested_return.rs
3
4 extern crate xcrate_generic_fn_nested_return as test;
5
6 pub fn main() {
7     assert!(test::decode::<()>().is_err());
8 }