rust/tests/target/issue-2329.rs
2018-03-02 15:07:13 +13:00

30 lines
535 B
Rust
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Comments with characters which must be represented by multibyte.
// フー
use foo;
// バー
use bar;
impl MyStruct {
// コメント
fn f1() {} // こんにちは
fn f2() {} // ありがとう
// コメント
}
trait MyTrait {
// コメント
fn f1() {} // こんにちは
fn f2() {} // ありがとう
// コメント
}
fn main() {
// コメント
let x = 1; //
println!(
"x = {}", // xの値
x, //
);
// コメント
}