2011-01-25 18:15:19 -05:00
|
|
|
mod m1 {
|
2015-06-07 17:56:18 -07:00
|
|
|
pub mod arguments {}
|
2011-01-25 18:15:19 -05:00
|
|
|
}
|
|
|
|
|
2020-01-05 00:17:46 +00:00
|
|
|
fn main(arguments: Vec<String>) { //~ ERROR `main` function has wrong type
|
2015-06-07 17:56:18 -07: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
|
2016-12-01 01:35:25 +03:00
|
|
|
//~| ERROR expected value, found module `m1::arguments`
|
2014-03-05 15:28:08 -08:00
|
|
|
}
|