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
359bfa901b9d8eddbed7b88b6716dbb77b7bfb95
rust/tests/ui/empty/no-link.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
129 B
Rust
Raw Normal View History

Remove effect of `#[no_link]` attribute on name resolution Previously it hid all non-macro names from other crates. This has no relation to linking and can change name resolution behavior in some cases (e.g. glob conflicts), in addition to just producing the "unresolved name" errors
2021-12-17 19:16:16 +08:00
//@ check-pass
Register and stability check `#[no_link]` crates.
2016-10-28 05:56:06 +00:00
//@ aux-build:empty-struct.rs
Replace #[phase] with #[plugin] / #[macro_use] / #[no_link]
2014-12-31 20:43:46 -08:00
#[no_link]
Register and stability check `#[no_link]` crates.
2016-10-28 05:56:06 +00:00
extern crate empty_struct;
Add a test for deprecated phase(syntax)
2014-05-24 22:22:24 -07:00
fn main() {
Remove effect of `#[no_link]` attribute on name resolution Previously it hid all non-macro names from other crates. This has no relation to linking and can change name resolution behavior in some cases (e.g. glob conflicts), in addition to just producing the "unresolved name" errors
2021-12-17 19:16:16 +08:00
empty_struct::XEmpty1 {};
Add a test for deprecated phase(syntax)
2014-05-24 22:22:24 -07:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 4552ms Template: 4ms
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