Squashed 'lib/vscode/' content from commit e5a624b788
git-subtree-dir: lib/vscode git-subtree-split: e5a624b788d92b8d34d1392e4c4d9789406efe8f
This commit is contained in:
26
extensions/rust/test/colorize-fixtures/test-6611.rs
Normal file
26
extensions/rust/test/colorize-fixtures/test-6611.rs
Normal file
@@ -0,0 +1,26 @@
|
||||
impl Foo<A,B>
|
||||
where A: B
|
||||
{ }
|
||||
|
||||
impl Foo<A,B> for C
|
||||
where A: B
|
||||
{ }
|
||||
|
||||
impl Foo<A,B> for C
|
||||
{
|
||||
fn foo<A,B> -> C
|
||||
where A: B
|
||||
{ }
|
||||
}
|
||||
|
||||
fn foo<A,B> -> C
|
||||
where A: B
|
||||
{ }
|
||||
|
||||
struct Foo<A,B>
|
||||
where A: B
|
||||
{ }
|
||||
|
||||
trait Foo<A,B> : C
|
||||
where A: B
|
||||
{ }
|
||||
15
extensions/rust/test/colorize-fixtures/test.rs
Normal file
15
extensions/rust/test/colorize-fixtures/test.rs
Normal file
@@ -0,0 +1,15 @@
|
||||
use std::io;
|
||||
|
||||
fn main() {
|
||||
println!("Guess the number!");
|
||||
|
||||
println!("Please input your guess.");
|
||||
|
||||
let mut guess = String::new();
|
||||
|
||||
io::stdin().read_line(&mut guess)
|
||||
.ok()
|
||||
.expect("Failed to read line");
|
||||
|
||||
println!("You guessed: {}", guess);
|
||||
}
|
||||
Reference in New Issue
Block a user