Skip to content

Commit 5494558

Browse files
committed
Update to nightly 2023-09-24
The only change seriously needed is change from .line -> .line()
1 parent c51ba85 commit 5494558

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

libs/derive/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ fn span_file_loc(span: Span) -> String {
240240
.map(std::ffi::OsStr::to_string_lossy)
241241
.map(String::from)
242242
.unwrap_or_else(|| String::from("<fake>"));
243-
let lineno = internal.start().line;
243+
let lineno = internal.start().line();
244244
format!("{}:{}", file_name, lineno)
245245
}
246246

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
alloc_layout_extra,
99
const_mut_refs,
1010
const_option,
11-
const_transmute_copy,
1211
slice_range, // Convenient for bounds checking :)
1312
)]
1413
#![cfg_attr(feature="error", backtrace)]

0 commit comments

Comments
 (0)