6 fn new(cofig: String) -> Self {
7 Self { config } //~ Error cannot find value `config` in this scope
10 fn do_something(cofig: String) {
11 println!("{config}"); //~ Error cannot find value `config` in this scope
14 fn self_is_available(self, cofig: String) {
15 println!("{config}"); //~ Error cannot find value `config` in this scope
27 impl B for Box<isize> {
32 //~^ ERROR cannot find function `baz`
34 //~^ ERROR cannot find value `bah`
36 //~^ ERROR cannot find value `BAR` in this scope
37 let foo: Baz = "".to_string();
38 //~^ ERROR cannot find type `Baz` in this scope