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
0e3ee39c41462652f41993a5610265abea6daa96
rust/src/test/compile-fail/bad-expr-path.rs

9 lines
90 B
Rust
Raw Normal View History

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
// error-pattern: unresolved name: a
mod m1 {
}
fn main(vec[str] args) {
Downcase std modules again, move to :: for module dereferencing This should be a snapshot transition.
2011-05-12 17:24:54 +02:00
log 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
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 229ms 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