Lines Matching defs:number
131 let mut number = 0;
135 // The `name` follows the `{file}_{line}_{number}` pattern (see description in
136 // `scripts/rustdoc_test_builder.rs`). Discard the `number`.
139 // Extract the `file` and the `line`, discarding the `number`.
142 // Generate an ID sequence ("test number") for each one in the file.
144 number += 1;
146 number = 0;
155 // We avoid the line number, like `rustdoc` does, to make things slightly more stable for
158 let kunit_name = format!("rust_doctest_kernel_{file}_{number}");
183 /// Overrides the usual [`line!`] macro with one that expands to the real line number.