1 // Test that fields on a struct defined in another crate are resolved correctly
2 // their names differ only in `SyntaxContext`.
14 test_fields!(check_fields);
15 test_fields2!(check_fields);
17 let s1 = test_fields!(construct);
19 test_fields!(check_fields_of s1);
21 let s2 = test_fields2!(construct);
23 test_fields2!(check_fields_of s2);