mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
c30b41012d
```rust reuse prefix::{a, b, c} ```
9 lines
184 B
Rust
9 lines
184 B
Rust
#![feature(fn_delegation)]
|
|
#![allow(incomplete_features)]
|
|
|
|
fn a() {}
|
|
|
|
reuse a as b { #![rustc_dummy] self } //~ ERROR an inner attribute is not permitted in this context
|
|
|
|
fn main() {}
|