Searched refs:panic (Results 1 – 16 of 16) sorted by relevance
| /rust/macros/ |
| D | module.rs | 19 _ => panic!("Expected ',' or end of array"), in expect_string_array() 122 Some(_) => panic!("Expected Ident or end"), in parse() 127 panic!("Duplicated key \"{key}\". Keys can only be specified once."); in parse() 140 _ => panic!("Unknown key \"{key}\". Valid keys are: {EXPECTED_KEYS:?}."), in parse() 152 panic!("Missing required key \"{key}\"."); in parse() 164 panic!("Keys are not ordered as expected. Order them like: {ordered_keys:?}."); in parse()
|
| D | helpers.rs | 26 panic!("Escape sequences in string literals not yet handled"); in try_string() 30 panic!("Raw string literals are not yet handled"); in try_string() 45 panic!("Expected Punct"); in expect_punct() 63 panic!("Expected Group"); in expect_group() 69 panic!("Expected end"); in expect_end()
|
| D | kunit.rs | 14 panic!("Missing test name in `#[kunit_tests(test_name)]` macro") in kunit_tests() 18 panic!( in kunit_tests() 41 _ => panic!("Cannot locate main body of module"), in kunit_tests()
|
| D | paste.rs | 30 panic!("expected identifier as modifier"); in concat() 45 v => panic!("unknown modifier `{v}`"), in concat() 49 _ => panic!("unexpected token in paste segments"), in concat()
|
| D | concat_idents.rs | 11 panic!("Expected Ident") in expect_ident()
|
| D | pinned_drop.rs | 35 .unwrap_or_else(|| panic!("Expected an `impl` block implementing `PinnedDrop`.")); in pinned_drop()
|
| D | vtable.rs | 26 _ => panic!("cannot locate main body of trait or impl block"), in vtable()
|
| /rust/ |
| D | build_error.rs | 30 panic!("{}", msg); in build_error()
|
| D | compiler_builtins.rs | 34 panic!($reason);
|
| /rust/kernel/sync/ |
| D | locked_by.rs | 134 panic!("mismatched owners"); in access() 163 panic!("mismatched owners"); in access_mut()
|
| /rust/kernel/ |
| D | lib.rs | 127 fn panic(info: &core::panic::PanicInfo<'_>) -> ! { in panic() function
|
| D | kunit.rs | 244 panic!(concat!(
|
| D | error.rs | 27 None => panic!("Invalid errno in `declare_err!`"),
|
| D | str.rs | 518 Err(_) => panic!("string contains interior NUL"),
|
| /rust/kernel/block/mq/ |
| D | request.rs | 242 panic!("Request refcount zero on clone") in inc_ref() 259 panic!("Request reached refcount zero in Rust abstractions"); in dec_ref()
|
| /rust/kernel/init/ |
| D | macros.rs | 1361 @acc($($acc)* $field: ::core::panic!(),), 1374 @acc($($acc)* $field: ::core::panic!(),),
|