mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-14 17:48:10 +00:00
29 lines
700 B
Rust
29 lines
700 B
Rust
// Test assignment
|
|
|
|
fn main() {
|
|
let some_var: Type;
|
|
|
|
let mut mutable;
|
|
|
|
let variable =
|
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA::BBBBBBBBBBBBBBBBBBBBBB::CCCCCCCCCCCCCCCCCCCCCC::EEEEEE;
|
|
|
|
variable =
|
|
LOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOONG;
|
|
|
|
let single_line_fit = DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD;
|
|
|
|
single_line_fit = 5;
|
|
single_lit_fit >>= 10;
|
|
}
|
|
|
|
fn break_meee() {
|
|
{
|
|
(block_start, block_size, margin_block_start, margin_block_end) =
|
|
match (block_start, block_end, block_size) {
|
|
x => 1,
|
|
_ => 2,
|
|
};
|
|
}
|
|
}
|