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

10 lines
126 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 {
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: 514ms 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