]> git.lizzy.rs Git - rust.git/blob - tests/ui/definition-reachable/nested-fn.rs
Rollup merge of #105784 - yanns:update_stdarch, r=Amanieu
[rust.git] / tests / ui / definition-reachable / nested-fn.rs
1 // Check that functions visible to macros through paths with >2 segments are
2 // considered reachable
3
4 // aux-build:field-method-macro.rs
5 // run-pass
6
7 extern crate field_method_macro;
8
9 fn main() {
10     assert_eq!(field_method_macro::m!(), 33);
11 }