This repository was archived by the owner on May 28, 2025. It is now read-only.
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 = [
6161
6262[[package ]]
6363name = " compiler_builtins"
64- version = " 0.1.104 "
64+ version = " 0.1.106 "
6565source = " registry+https://github.com/rust-lang/crates.io-index"
66- checksum = " 99c3f9035afc33f4358773239573f7d121099856753e1bbd2a6a5207098fc741 "
66+ checksum = " f4ab134a739bafec76aa91ccb15d519a54e569350644a1fea6528d5a0d407e22 "
6767dependencies = [
6868 " cc" ,
6969 " rustc-std-workspace-core" ,
Original file line number Diff line number Diff line change 11[toolchain]
2- channel = "nightly-2023-12-31 "
2+ channel = "nightly-2024-01-21 "
33components = ["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(
321321 Linkage :: NotLinked | Linkage :: IncludedFromDylib => { }
322322 Linkage :: Static => {
323323 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 ( ) ;
328327 }
329328 Linkage :: Dynamic => {
330329 dylib_paths. push ( src. dylib . as_ref ( ) . unwrap ( ) . 0 . clone ( ) ) ;
You can’t perform that action at this time.
0 commit comments