6d86969260
conflict with the new single-line-sugared-inner-doc-comment (`//! ...`).
9 lines
149 B
Rust
9 lines
149 B
Rust
// -*- rust -*-
|
|
|
|
unsafe fn f() { ret; }
|
|
|
|
fn main() {
|
|
let x = f; //~ ERROR access to unsafe function requires unsafe function or block
|
|
x();
|
|
}
|