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
35b2960d0074a776556a22b13834ad8f657ffc2e
rust/src/test/compile-fail/import-from-missing.rs

11 lines
149 B
Rust
Raw Normal View History

rustc: Switch to the new resolution pass
2012-07-06 19:06:58 -07:00
// error-pattern:unresolved
test: XFAIL some more in an effort to unbreak the tree
2012-07-19 07:30:37 -07:00
// xfail-test
test: "import" -> "use"
2012-09-05 12:32:05 -07:00
use spam::{ham, eggs};
Allow multiple imports in a single statement Like so: import foo::{bar, baz}; Issue #817
2011-08-16 15:21:30 -07:00
mod spam {
Install new pub/priv/export rules as defaults, old rules accessible under #[legacy_exports];
2012-09-21 18:10:45 -07:00
#[legacy_exports];
Reformat This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-19 15:16:48 -07:00
fn ham() { }
Allow multiple imports in a single statement Like so: import foo::{bar, baz}; Issue #817
2011-08-16 15:21:30 -07:00
}
Reformat This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-19 15:16:48 -07:00
fn main() { ham(); eggs(); }
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 648ms 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