2013-01-30 16:30:22 -06:00
|
|
|
mod m1 {}
|
2011-01-25 16:54:38 -06:00
|
|
|
|
2020-01-04 18:17:46 -06:00
|
|
|
fn main(arguments: Vec<String>) { //~ ERROR `main` function has wrong type
|
2016-11-30 16:35:25 -06:00
|
|
|
log(debug, m1::arguments);
|
2017-01-11 16:18:08 -06:00
|
|
|
//~^ ERROR cannot find function `log` in this scope
|
|
|
|
//~| ERROR cannot find value `debug` in this scope
|
|
|
|
//~| ERROR cannot find value `arguments` in module `m1`
|
2016-11-30 16:35:25 -06:00
|
|
|
}
|