Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
901b340c1f5d208561d4261cc3ee634973b35326
rust/tests/ui/definition-reachable/nested-fn.rs

12 lines
246 B
Rust
Raw Normal View History

fix various typos
2020-03-06 12:13:55 +01:00
// Check that functions visible to macros through paths with >2 segments are
Fix various issues with making items reachable through macros * Allow items to be accessible through private modules and fields when a macro can access them. * Don't mark type-private items as reachable. * Never make items exported/public via macros
2019-08-05 23:06:02 +01:00
// considered reachable
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00:00
//@ aux-build:field-method-macro.rs
//@ run-pass
Fix various issues with making items reachable through macros * Allow items to be accessible through private modules and fields when a macro can access them. * Don't mark type-private items as reachable. * Never make items exported/public via macros
2019-08-05 23:06:02 +01:00
extern crate field_method_macro;
fn main() {
assert_eq!(field_method_macro::m!(), 33);
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 1866ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API