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

9 lines
115 B
Rust
Raw Normal View History

rustc: Switch to the new resolution pass
2012-07-06 19:06:58 -07:00
// error-pattern:unresolved
Allow multiple imports in a single statement Like so: import foo::{bar, baz}; Issue #817
2011-08-16 15:21:30 -07:00
import spam::{ham, eggs};
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: 413ms 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