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
d95ab538c1c503c76b1d10211dd60c9d29091a2f
rust/src/test/compile-fail/import-loop.rs

11 lines
100 B
Rust
Raw Normal View History

Revert "rustc: Switch to the new resolution pass" This reverts commit c4af6e92fbae171c56a4e68666025725555fc9d8. Branch was burning...many, many unresolved imports.
2012-07-06 20:45:06 -07:00
// error-pattern: cyclic import
Catch cyclic imports harder. Add 2 tests to confirm.
2010-07-09 11:59:00 -07:00
Stop showing a 'cyclic import' message for unresolved imports This only happened for single-length import paths, because the import was being looked up in its own scope.
2011-05-24 20:58:38 +02:00
import y::x;
mod y {
import x;
Now imports are not re-exported unless 'export' is explicitly used.
2011-05-31 18:24:06 -07:00
export x;
Stop showing a 'cyclic import' message for unresolved imports This only happened for single-length import paths, because the import was being looked up in its own scope.
2011-05-24 20:58:38 +02:00
}
Catch cyclic imports harder. Add 2 tests to confirm.
2010-07-09 11:59:00 -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() { }
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 822ms 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