Skip to content

Commit

Permalink
ref: simplify coverage attr declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
0xNeshi committed Dec 5, 2024
1 parent 0e56492 commit 861094c
Show file tree
Hide file tree
Showing 2 changed files with 7,333 additions and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ impl MyContract { }
)]
#![cfg_attr(not(feature = "std"), no_std, no_main)]
#![deny(rustdoc::broken_intra_doc_links)]
#![cfg_attr(coverage, feature(coverage_attribute))]
#![feature(coverage_attribute)]

Check failure on line 49 in contracts/src/lib.rs

View workflow job for this annotation

GitHub Actions / ubuntu / stable / features

`#![feature]` may not be used on the stable release channel

Check failure on line 49 in contracts/src/lib.rs

View workflow job for this annotation

GitHub Actions / ubuntu / stable

`#![feature]` may not be used on the stable release channel

Check failure on line 49 in contracts/src/lib.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] contracts/src/lib.rs#L49

error[E0554]: `#![feature]` may not be used on the stable release channel --> contracts/src/lib.rs:49:1 | 49 | #![feature(coverage_attribute)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Raw output
contracts/src/lib.rs:49:1:e:error[E0554]: `#![feature]` may not be used on the stable release channel
  --> contracts/src/lib.rs:49:1
   |
49 | #![feature(coverage_attribute)]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


__END__

Check failure on line 49 in contracts/src/lib.rs

View workflow job for this annotation

GitHub Actions / wasm32-unknown-unknown

`#![feature]` may not be used on the stable release channel

Check failure on line 49 in contracts/src/lib.rs

View workflow job for this annotation

GitHub Actions / ubuntu / beta

`#![feature]` may not be used on the beta release channel

Check failure on line 49 in contracts/src/lib.rs

View workflow job for this annotation

GitHub Actions / macos-latest / stable

`#![feature]` may not be used on the stable release channel
extern crate alloc;

pub mod access;
Expand Down
Loading

0 comments on commit 861094c

Please sign in to comment.