mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 06:28:42 +00:00
Remove #[main] attribute.
This commit is contained in:
parent
f6d1f368db
commit
696562d22d
1 changed files with 2 additions and 2 deletions
|
@ -1,11 +1,11 @@
|
|||
// ignore-macos
|
||||
// ignore-windows
|
||||
|
||||
#![feature(main)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
||||
#[warn(clippy::main_recursion)]
|
||||
#[allow(unconditional_recursion)]
|
||||
#[main]
|
||||
#[rustc_main]
|
||||
fn a() {
|
||||
println!("Hello, World!");
|
||||
a();
|
||||
|
|
Loading…
Add table
Reference in a new issue