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
bae2b51c5f45856eb9c214e5454d2edc48b38c24
rust/tests/run-make/extern-multiple-copies2/foo2.rs

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

9 lines
105 B
Rust
Raw Normal View History

rustc: Fix again order-dependence in extern crate Originally fixed in #29961 the bug was unfortunately still present in the face of crates using `#[macro_use]`. This commit refactors for the two code paths to share common logic to ensure that they both pick up the same bug fix. Closes #33762
2016-05-20 14:03:47 -07:00
#![crate_type = "rlib"]
#[macro_use]
extern crate foo1;
pub fn foo2(a: foo1::A) {
foo1::foo1(a);
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 1459ms 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