2013-01-30 14:30:22 -08:00
|
|
|
mod m1 {}
|
2011-01-25 17:54:38 -05:00
|
|
|
|
2020-01-05 00:17:46 +00:00
|
|
|
fn main(arguments: Vec<String>) { //~ ERROR `main` function has wrong type
|
2016-12-01 01:35:25 +03:00
|
|
|
log(debug, m1::arguments);
|
2017-01-12 01:18:08 +03: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-12-01 01:35:25 +03:00
|
|
|
}
|