Skip to content

Commit 3ec43a9

Browse files
committedMay 17, 2024··
feat: rpt 35 sns links
1 parent 22b798d commit 3ec43a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎content/blog/rust-pro-tips-collection.md

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ This is a collection of Rust "pro tips" that I've collected, most of which have
1414

1515
## 35. Force compilation failure
1616

17+
[Tweet](https://x.com/sudo_build/status/1791446158055018637) [Toot](https://infosec.exchange/@hatchet/112456435462770019)
18+
1719
The `compile_error!(...)` macro forces compilation failure. This can be useful to indicate unsupported feature flag combinations or invalid macro arguments.
1820

1921
```rust

0 commit comments

Comments
 (0)
Please sign in to comment.