We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c51ba85 commit 5494558Copy full SHA for 5494558
libs/derive/src/lib.rs
@@ -240,7 +240,7 @@ fn span_file_loc(span: Span) -> String {
240
.map(std::ffi::OsStr::to_string_lossy)
241
.map(String::from)
242
.unwrap_or_else(|| String::from("<fake>"));
243
- let lineno = internal.start().line;
+ let lineno = internal.start().line();
244
format!("{}:{}", file_name, lineno)
245
}
246
src/lib.rs
@@ -8,7 +8,6 @@
8
alloc_layout_extra,
9
const_mut_refs,
10
const_option,
11
- const_transmute_copy,
12
slice_range, // Convenient for bounds checking :)
13
)]
14
#![cfg_attr(feature="error", backtrace)]
0 commit comments