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
8152da82b51a16fbb7a072462af01d15b0b2c8d3
rust/tests/ui/parser/import-glob-rename.rs

11 lines
95 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
Add compile-fail tests for malformed glob imports
2011-08-16 15:14:43 -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::* as baz;
Add compile-fail tests for malformed glob imports
2011-08-16 15:14:43 -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() {}
Add compile-fail tests for malformed glob imports
2011-08-16 15:14:43 -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: 5559ms 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