2022-07-15 10:48:46 -05:00
|
|
|
// Regression test for <https://github.com/rust-lang/rust/issues/96161>.
|
|
|
|
// ignore-tidy-linelength
|
|
|
|
|
|
|
|
mod secret {
|
|
|
|
pub struct Secret;
|
|
|
|
}
|
|
|
|
|
2024-07-19 09:50:47 -05:00
|
|
|
//@ has "$.index[*][?(@.name=='get_secret')].inner.function"
|
2024-08-04 18:44:35 -05:00
|
|
|
//@ is "$.index[*][?(@.name=='get_secret')].inner.function.sig.output.resolved_path.name" \"secret::Secret\"
|
2022-07-15 10:48:46 -05:00
|
|
|
pub fn get_secret() -> secret::Secret {
|
|
|
|
secret::Secret
|
|
|
|
}
|