File tree Expand file tree Collapse file tree 4 files changed +30
-7
lines changed Expand file tree Collapse file tree 4 files changed +30
-7
lines changed Original file line number Diff line number Diff line change
1
+ From 8330c138c91f71ad43b38c026ee14b154f34a1b8 Mon Sep 17 00:00:00 2001
2
+ From: bjorn3 <17426603+bjorn3@users.noreply.github.com>
3
+ Date: Sun, 21 Jan 2024 11:12:19 +0000
4
+ Subject: [PATCH] Allow warnings
5
+
6
+ ---
7
+ rand_core/src/lib.rs | 1 -
8
+ 1 file changed, 1 deletion(-)
9
+
10
+ diff --git a/rand_core/src/lib.rs b/rand_core/src/lib.rs
11
+ index a5a7fb1..6c84068 100644
12
+ --- a/rand_core/src/lib.rs
13
+ +++ b/rand_core/src/lib.rs
14
+ @@ -34,7 +34,6 @@
15
+ )]
16
+ #![deny(missing_docs)]
17
+ #![deny(missing_debug_implementations)]
18
+ - #![doc(test(attr(allow(unused_variables), deny(warnings))))]
19
+ #![cfg_attr(doc_cfg, feature(doc_cfg))]
20
+ #![no_std]
21
+
22
+ - -
23
+ 2.34.1
24
+
Original file line number Diff line number Diff line change @@ -61,9 +61,9 @@ dependencies = [
61
61
62
62
[[package ]]
63
63
name = " compiler_builtins"
64
- version = " 0.1.104 "
64
+ version = " 0.1.106 "
65
65
source = " registry+https://github.com/rust-lang/crates.io-index"
66
- checksum = " 99c3f9035afc33f4358773239573f7d121099856753e1bbd2a6a5207098fc741 "
66
+ checksum = " f4ab134a739bafec76aa91ccb15d519a54e569350644a1fea6528d5a0d407e22 "
67
67
dependencies = [
68
68
" cc" ,
69
69
" rustc-std-workspace-core" ,
Original file line number Diff line number Diff line change 1
1
[toolchain]
2
- channel = "nightly-2023-12-31 "
2
+ channel = "nightly-2024-01-21 "
3
3
components = ["rust-src", "rustc-dev", "llvm-tools"]
Original file line number Diff line number Diff line change @@ -321,10 +321,9 @@ fn dep_symbol_lookup_fn(
321
321
Linkage :: NotLinked | Linkage :: IncludedFromDylib => { }
322
322
Linkage :: Static => {
323
323
let name = crate_info. crate_name [ & cnum] ;
324
- sess. dcx ( )
325
- . struct_err ( format ! ( "Can't load static lib {}" , name) )
326
- . note ( "rustc_codegen_cranelift can only load dylibs in JIT mode." )
327
- . emit ( ) ;
324
+ let mut diag = sess. dcx ( ) . struct_err ( format ! ( "Can't load static lib {}" , name) ) ;
325
+ diag. note ( "rustc_codegen_cranelift can only load dylibs in JIT mode." ) ;
326
+ diag. emit ( ) ;
328
327
}
329
328
Linkage :: Dynamic => {
330
329
dylib_paths. push ( src. dylib . as_ref ( ) . unwrap ( ) . 0 . clone ( ) ) ;
You can’t perform that action at this time.
0 commit comments