Skip to content

Commit

Permalink
tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
nebulark committed Jun 16, 2024
1 parent 1ca9ca5 commit b91a3aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![feature(patchable_function_entry)]
fn main() {}

#[patchable_function_entry(prefix_nops = 256, entry_nops = 0)]//~error: Expected integer value between 0 and 255.
#[patchable_function_entry(prefix_nops = 256, entry_nops = 0)]//~error: Expected integer value between 0 and 255.
pub fn too_high_pnops() {}

#[patchable_function_entry(prefix_nops = "stringvalue", entry_nops = 0)]//~error: Expected integer value between 0 and 255.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
//@ compile-flags: -Z patchable-function-entry=1,2
fn main() {}
fn main() {}

0 comments on commit b91a3aa

Please sign in to comment.