Must be empty

This attribute checks that a given function is empty. It is just that. This can be useful for debugging, when you're just using using cargo test and want to assure that nobody in a repository puts content in the main function, for example.

Example

```rust use mustbeempty::mustbeempty;

[mustbeempty]

fn main() {} ```

If you were to put something in that main function, it would give a warning or an error, depending on your configuration.

Installation

Put this in your Cargo.toml file:

toml [dependencies] must_be_empty = "0.1.0"

Features