8 matches across 1 files for func main lang:Markdown lang:Markdown path:compiler/rustc_error_codes/src/error_codes/E0133.md
snippet_mode: auto · sorted by relevance
compiler/rustc_error_codes/src/error_codes/E0133.md MARKDOWN 8 matches · showing 5 view file →
6unsafe fn f() { return; } // This is the unsafe code
7
8fn main() {
9 f(); // error: call to unsafe function requires unsafe function or block
10}
· · ·
9 f(); // error: call to unsafe function requires unsafe function or block
10}
11```
· · ·
12
13Using unsafe functionality is potentially dangerous and disallowed by safety
14checks. Examples:
15
· · ·
16* Dereferencing raw pointers
17* Calling functions via FFI
18* Calling functions marked unsafe
19
· · ·
18* Calling functions marked unsafe
19
20These safety checks can be relaxed for a section of the code by wrapping the
+ 3 more matches in this file
Search syntax
auth loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage filter

Search any public repo from your terminal

This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.