6d86969260
conflict with the new single-line-sugared-inner-doc-comment (`//! ...`).
7 lines
182 B
Rust
7 lines
182 B
Rust
const foo: int = 5;
|
|
|
|
fn main() {
|
|
// assigning to various global constants
|
|
none = some(3); //~ ERROR assigning to static item
|
|
foo = 6; //~ ERROR assigning to static item
|
|
} |