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
51b51b51d7931da85280382a81c4dd80c73ca754
rust/tests/ui/imports/import2.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
208 B
Rust
Raw Normal View History

Move some tests to subdirectories
2020-12-07 02:01:35 +03:00
use baz::zed::bar; //~ ERROR unresolved import `baz::zed` [E0432]
//~^ could not find `zed` in `baz`
Reformat source tree (minus a couple tests that are still grumpy).
2011-06-15 11:19:50 -07:00
Move some tests to subdirectories
2020-12-07 02:01:35 +03:00
mod baz {}
Add sufficient import support to compile some simple single-crate programs. This is likely not the final solution. It does repetitive work and doesn't produce errors for invalid but unused imports. In any case, I think it is a useful step.
2011-01-07 17:38:13 -05:00
mod zed {
Move some tests to subdirectories
2020-12-07 02:01:35 +03:00
pub fn bar() { println!("bar3"); }
}
fn main() {
bar();
Add sufficient import support to compile some simple single-crate programs. This is likely not the final solution. It does repetitive work and doesn't produce errors for invalid but unused imports. In any case, I think it is a useful step.
2011-01-07 17:38:13 -05:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 7155ms 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