Language: C

use std::collections::{HashMap, VecDeque};
use std::io::*;
use std::str::FromStr;
fn read<T: FromStr>() -> T {
    let stdin = stdin();
    let stdin = stdin.lock();
    let token: String = stdin
        .bytes()
        .map(|c| c.expect("failed to read char") as char)
        .skip_while(|c| c.is_whitespace())
        .take_while(|c| !c.is_whitespace())
        .collect();
    token.parse().ok().expect("failed to parse token")
}
struct Main {
    k: usize,
    a: Vec<Vec<i64>>,
}
impl Main {
    fn invoke(&mut self) {
    }
}

fn main() {
    let n: u32 = read();
    let n_str = n.to_string();
    let n_chars = n_str.chars();
    let mut res = "No";
    for c in n_chars {
        if c == '7' {
            res = "Yes";
        }
    }
    println!("{}", res);

//    Main {
//        k: k,
//        a: vec![(1..10).collect::<Vec<i64>>(); 10],
//    }
//    .invoke()
}


Compiler output:
main.c:1:1: error: unknown type name 'use'
    1 | use std::collections::{HashMap, VecDeque};
      | ^~~
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '::' token
    1 | use std::collections::{HashMap, VecDeque};
      |        ^~
main.c:2:1: error: unknown type name 'use'
    2 | use std::io::*;
      | ^~~
main.c:2:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '::' token
    2 | use std::io::*;
      |        ^~
main.c:3:1: error: unknown type name 'use'
    3 | use std::str::FromStr;
      | ^~~
main.c:3:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '::' token
    3 | use std::str::FromStr;
      |        ^~
main.c:4:1: error: unknown type name 'fn'
    4 | fn read<T: FromStr>() -> T {
      | ^~
main.c:4:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    4 | fn read<T: FromStr>() -> T {
      |        ^
main.c:16:5: error: expected specifier-qualifier-list before 'k'
   16 |     k: usize,
      |     ^
main.c:19:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Main'
   19 | impl Main {
      |      ^~~~
main.c:24:1: error: unknown type name 'fn'
   24 | fn main() {
      | ^~
main.c: In function 'main':
main.c:25:5: error: unknown type name 'let'
   25 |     let n: u32 = read();
      |     ^~~
main.c:25:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
   25 |     let n: u32 = read();
      |          ^
main.c:26:5: error: unknown type name 'let'
   26 |     let n_str = n.to_string();
      |     ^~~
main.c:26:17: error: 'n' undeclared (first use in this function)
   26 |     let n_str = n.to_string();
      |                 ^
main.c:26:17: note: each undeclared identifier is reported only once for each function it appears in
main.c:27:5: error: unknown type name 'let'
   27 |     let n_chars = n_str.chars();
      |     ^~~
main.c:27:24: error: request for member 'chars' in something not a structure or union
   27 |     let n_chars = n_str.chars();
      |                        ^
main.c:28:5: error: unknown type name 'let'
   28 |     let mut res = "No";
      |     ^~~
main.c:28:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'res'
   28 |     let mut res = "No";
      |             ^~~
main.c:29:9: error: expected '(' before 'c'
   29 |     for c in n_chars {
      |         ^
      |         (
main.c:29:9: error: 'c' undeclared (first use in this function)