Searched defs:ConstEvalError (Results 1 – 7 of 7) sorted by relevance
| /third_party/rust/rust/src/tools/rust-analyzer/crates/hir-ty/src/ |
| D | consteval.rs | 53 pub enum ConstEvalError { enum 58 impl From<MirLowerError> for ConstEvalError { implementation 67 impl From<MirEvalError> for ConstEvalError { implementation 189 ) -> Result<Const, ConstEvalError> { in const_eval_recover() argument 197 ) -> Result<Const, ConstEvalError> { in const_eval_static_recover() argument 205 ) -> Result<i128, ConstEvalError> { in const_eval_discriminant_recover() argument 213 ) -> Result<Const, ConstEvalError> { in const_eval_query() argument 238 ) -> Result<Const, ConstEvalError> { in const_eval_static_query() argument 251 ) -> Result<i128, ConstEvalError> { in const_eval_discriminant_variant() argument
|
| D | db.rs | 81 -> Result<Const, ConstEvalError>; in const_eval() argument 85 fn const_eval_static(&self, def: StaticId) -> Result<Const, ConstEvalError>; in const_eval_static() argument 89 fn const_eval_discriminant(&self, def: EnumVariantId) -> Result<i128, ConstEvalError>; in const_eval_discriminant() argument
|
| /third_party/rust/rust/compiler/rustc_const_eval/src/ |
| D | errors.rs | 410 pub struct ConstEvalError { struct 412 pub span: Span, 414 pub error_kind: &'static str, 415 pub instance: String, 417 pub frame_notes: Vec<FrameNote>,
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/hir-ty/src/consteval/ |
| D | tests.rs | 17 fn simplify(e: ConstEvalError) -> ConstEvalError { in simplify() 63 fn pretty_print_err(e: ConstEvalError, db: TestDB) -> String { in pretty_print_err() 74 fn eval_goal(db: &TestDB, file_id: FileId) -> Result<Const, ConstEvalError> { in eval_goal() argument
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/hir-ty/src/mir/ |
| D | lower.rs | 74 ConstEvalError(String, Box<ConstEvalError>), enumerator
|
| D | eval.rs | 272 ConstEvalError(String, Box<ConstEvalError>), enumerator
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/hir/src/ |
| D | lib.rs | 1200 pub fn eval(self, db: &dyn HirDatabase) -> Result<i128, ConstEvalError> { in eval() argument 2133 pub fn render_eval(self, db: &dyn HirDatabase) -> Result<String, ConstEvalError> { in render_eval() argument
|