2,420 matches across 25 files for error lang:Markdown lang:Markdown
snippet_mode: auto · sorted by relevance
src/doc/guide-error-handling.md MARKDOWN 2 matches view file →
1% Error Handling in Rust
2
3This content has moved into
· · ·
4[the Rust Programming Language book](book/ch09-00-error-handling.html).
5
src/doc/unstable-book/src/compiler-flags/lint-llvm-ir.md MARKDOWN 2 matches view file →
4
5This flag will add `LintPass` to the start of the pipeline.
6You can use it to check for common errors in the LLVM IR generated by `rustc`.
7You can add `-Cllvm-args=-lint-abort-on-error` to abort the process if errors were found.
8
· · ·
7You can add `-Cllvm-args=-lint-abort-on-error` to abort the process if errors were found.
8
compiler/rustc_error_codes/src/error_codes/E0231.md MARKDOWN 1 matches view file →
1#### Note: this error code is no longer emitted by the compiler
2
compiler/rustc_error_codes/src/error_codes/E0388.md MARKDOWN 1 matches view file →
1#### Note: this error code is no longer emitted by the compiler.
2
library/core/src/fmt/fmt_trait_method_doc.md MARKDOWN 2 matches view file →
1Formats the value using the given formatter.
2
3# Errors
4
5This function should return [`Err`] if, and only if, the provided [`Formatter`] returns [`Err`].
· · ·
6String formatting is considered an infallible operation; this function only
7returns a [`Result`] because writing to the underlying stream might fail and it must
8provide a way to propagate the fact that an error has occurred back up the stack.
9
compiler/rustc_error_codes/src/error_codes/E0208.md MARKDOWN 2 matches view file →
1#### This error code is internal to the compiler and will not be emitted with normal Rust code.
2#### Note: this error code is no longer emitted by the compiler.
3
· · ·
2#### Note: this error code is no longer emitted by the compiler.
3
compiler/rustc_error_codes/src/error_codes/E0640.md MARKDOWN 2 matches view file →
1#### This error code is internal to the compiler and will not be emitted with normal Rust code.
2#### Note: this error code is no longer emitted by the compiler.
3
· · ·
2#### Note: this error code is no longer emitted by the compiler.
3
compiler/rustc_error_codes/src/error_codes/E0717.md MARKDOWN 1 matches view file →
1#### This error code is internal to the compiler and will not be emitted with normal Rust code.
2
src/doc/unstable-book/src/compiler-flags/treat-err-as-bug.md MARKDOWN 2 matches view file →
5------------------------
6
7This flag converts the selected error to a [`bug!`] call, exiting the compiler immediately and allowing you to generate a backtrace of where the error occurred.
8For full documentation, see [the rustc-dev-guide][dev-guide-backtrace].
9
· · ·
11
12[`bug!`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/macro.bug.html
13[dev-guide-backtrace]: https://rustc-dev-guide.rust-lang.org/compiler-debugging.html#getting-a-backtrace-for-errors
14
compiler/rustc_error_codes/src/error_codes/E0763.md MARKDOWN 2 matches view file →
4
5```compile_fail,E0763
6let c = b'a; // error!
7```
8
· · ·
9To fix this error, add the missing quote:
10
11```
compiler/rustc_error_codes/src/error_codes/E0773.md MARKDOWN 2 matches view file →
1#### Note: this error code is no longer emitted by the compiler.
2
3This was triggered when multiple macro definitions used the same
· · ·
4`#[rustc_builtin_macro(..)]`. This is no longer an error.
5
compiler/rustc_error_codes/src/error_codes/E0230.md MARKDOWN 2 matches view file →
1#### Note: this error code is no longer emitted by the compiler.
2
3The `#[rustc_on_unimplemented]` attribute used to raise this error for various
· · ·
3The `#[rustc_on_unimplemented]` attribute used to raise this error for various
4misuses of the attribute; these are now warnings.
5
compiler/rustc_error_codes/src/error_codes/E0768.md MARKDOWN 2 matches view file →
4
5```compile_fail,E0768
6let s: i32 = 0b; // error!
7```
8
· · ·
9To fix this error, add the missing digits:
10
11```
.github/ISSUE_TEMPLATE/ice.md MARKDOWN 4 matches view file →
1---
2name: Internal Compiler Error
3about: Create a report for an internal compiler error in rustc.
4labels: C-bug, I-ICE, T-compiler
· · ·
3about: Create a report for an internal compiler error in rustc.
4labels: C-bug, I-ICE, T-compiler
5title: "[ICE]: "
· · ·
6---
7<!--
8Thank you for finding an Internal Compiler Error! 🧊 If possible, try to provide
9a minimal verifiable example. You can read "Rust Bug Minimization Patterns" for
10how to create smaller examples.
· · ·
30```
31
32### Error output
33
34```
src/doc/rustc-dev-guide/src/borrow-check/region-inference/error-reporting.md MARKDOWN 2 matches view file →
1# Reporting region errors
2
3TODO: we should discuss how to generate errors from the results of these analyses.
· · ·
3TODO: we should discuss how to generate errors from the results of these analyses.
4
compiler/rustc_error_codes/src/error_codes/E0762.md MARKDOWN 2 matches view file →
4
5```compile_fail,E0762
6static C: char = '●; // error!
7```
8
· · ·
9To fix this error, add the missing quote:
10
11```
compiler/rustc_error_codes/src/error_codes/E0647.md MARKDOWN 1 matches view file →
1#### Note: this error code is no longer emitted by the compiler.
2
3The `start` function was defined with a where clause.
compiler/rustc_error_codes/src/error_codes/E0765.md MARKDOWN 2 matches view file →
4
5```compile_fail,E0765
6let s = "; // error!
7```
8
· · ·
9To fix this error, add the missing double quote at the end of the string:
10
11```
compiler/rustc_error_codes/src/error_codes/E0766.md MARKDOWN 2 matches view file →
4
5```compile_fail,E0766
6let s = b"; // error!
7```
8
· · ·
9To fix this error, add the missing double quote at the end of the string:
10
11```
compiler/rustc_error_codes/src/error_codes/E0671.md MARKDOWN 2 matches view file →
1#### Note: this error code is no longer emitted by the compiler.
2
3Const parameters cannot depend on type parameters.
· · ·
5
6```compile_fail,E0770
7fn const_id<T, const N: T>() -> T { // error
8 N
9}
src/doc/unstable-book/src/language-features/rustc-attrs.md MARKDOWN 4 matches view file →
30```
31
32When that is compiled, the compiler will error with something like
33
34```text
· · ·
35error: backend_repr: Aggregate { sized: true }
36 --> src/lib.rs:4:1
37 |
· · ·
42 | |_^
43
44error: size: Size { raw: 16 }
45 --> src/lib.rs:4:1
46 |
· · ·
51 | |_^
52
53error: aborting due to 2 previous errors
54```
55
compiler/rustc_error_codes/src/error_codes/E0138.md MARKDOWN 1 matches view file →
1#### Note: this error code is no longer emitted by the compiler.
2
3More than one function was declared with the `#[start]` attribute.
compiler/rustc_error_codes/src/error_codes/E0770.md MARKDOWN 2 matches view file →
4
5```compile_fail,E0770
6fn foo<T, const N: T>() {} // error!
7```
8
· · ·
9To fix this error, use a concrete type for the const parameter:
10
11```
compiler/rustc_error_codes/src/error_codes/E0256.md MARKDOWN 3 matches view file →
1#### Note: this error code is no longer emitted by the compiler.
2
3You can't import a type or module when the name of the item being imported is
· · ·
4the same as another type or submodule defined in the module.
5
6An example of this error:
7
8```compile_fail
· · ·
9use foo::Bar; // error
10
11type Bar = u32;
compiler/rustc_error_codes/src/error_codes/E0132.md MARKDOWN 1 matches view file →
1#### Note: this error code is no longer emitted by the compiler.
2
3A function with the `start` attribute was declared with type parameters.
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.