mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-18 07:47:44 +00:00
7 lines
148 B
Rust
7 lines
148 B
Rust
fn function<T: PartialEq>() {
|
|
foo == 2; //~ ERROR cannot find value `foo` in this scope [E0425]
|
|
//~^ ERROR mismatched types
|
|
}
|
|
|
|
fn main() {}
|