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
aad1db737347b93b51a7dc45dcb6bec9e367bc02
rust/tests/ui/parser/import-from-rename.rs

11 lines
99 B
Rust
Raw Normal View History

[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00:00
//@ error-pattern:expected
Allow multiple imports in a single statement Like so: import foo::{bar, baz}; Issue #817
2011-08-16 15:21:30 -07:00
libsyntax: Accept `use foo as bar;` in lieu of `use bar as foo;` The old syntax will be removed after a snapshot. RFC #47. Issue #16461.
2014-08-12 19:25:05 -07:00
use foo::{bar} as baz;
Allow multiple imports in a single statement Like so: import foo::{bar, baz}; Issue #817
2011-08-16 15:21:30 -07:00
mod foo {
test: De-export aux, bench, compile-fail, and run-fail. rs=deexporting
2013-01-30 14:30:22 -08:00
pub fn bar() {}
Allow multiple imports in a single statement Like so: import foo::{bar, baz}; Issue #817
2011-08-16 15:21:30 -07:00
}
fn main() {
test: De-export aux, bench, compile-fail, and run-fail. rs=deexporting
2013-01-30 14:30:22 -08:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 4352ms 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