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

10 lines
129 B
Rust
Raw Normal View History

[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00:00
//@ check-pass
//@ aux-build:empty-struct.rs
Register and stability check `#[no_link]` crates.
2016-10-28 05:56:06 +00:00
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: 3844ms Template: 2ms
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