Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 2 Packages Projects Releases Wiki Activity
Files
12c32e944d3dbadb6a114a6e0bc51b065b4f42c1
rust/src/test/compile-fail/bad-expr-path.rs

7 lines
122 B
Rust
Raw Normal View History

Be less specific in 'unresolved import' error patterns To make sure different test set-ups (check-fast) don't cause the tests to fail.
2011-12-02 17:20:03 +01:00
// error-pattern: unresolved name: m1::a
Small first step in expr_path. Call find_final_def just to detect unresolved names. find_final_def is going to be extended to return the final expr.
2011-01-25 17:54:38 -05:00
Install new pub/priv/export rules as defaults, old rules accessible under #[legacy_exports];
2012-09-21 18:10:45 -07:00
mod m1 {
#[legacy_exports]; }
Small first step in expr_path. Call find_final_def just to detect unresolved names. find_final_def is going to be extended to return the final expr.
2011-01-25 17:54:38 -05:00
Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.
2012-06-29 16:26:56 -07:00
fn main(args: ~[str]) { log(debug, m1::a); }
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 589ms 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