Skip to content

Rollup of 12 pull requests #73633

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 40 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
c88e6a7
add Windows system error codes that map to io::ErrorKind::TimedOut
May 1, 2020
8667996
use or pattern to match error codes that map to ErrorKind::TimedOut
carstenandrich May 2, 2020
c69d6c8
fix formatting issues that fail tidy test
carstenandrich May 2, 2020
b97487b
Add check for doc alias attribute format
GuillaumeGomez May 30, 2020
2d6267a
Add test for doc alias attribute validation
GuillaumeGomez May 30, 2020
e27a8b5
add link list of error codes on docs.microsoft.com
Jun 13, 2020
1d08b1b
Clean up E0689 explanation
GuillaumeGomez Jun 18, 2020
9245ba8
Remove the const_raw_ptr_comparison feature gate.
oli-obk Jun 12, 2020
e09b620
Add fuzzy pointer comparison intrinsics
oli-obk Jun 16, 2020
84f1d73
Tidy got confused on `rustc_const_unstable` `issue`s
oli-obk Jun 18, 2020
e75fbae
add second message for livedrop errors
pvdrz Jun 19, 2020
0624a5a
Squashed all commits
rakshith-ravi Jun 20, 2020
9e88b48
Refer just to the issue in the raw ptr cmp diagnostic instead of expl…
oli-obk Jun 20, 2020
53686b9
Satisfy tidy
oli-obk Jun 20, 2020
98e97a4
Address review comments
oli-obk Jun 20, 2020
9355168
update tests
Jun 20, 2020
6374054
Fix typos in doc comments
JOE1994 Jun 21, 2020
e3d735d
Fix typo in error_codes doc
dario23 Jun 21, 2020
1c74ab4
Make is_freeze and is_copy_modulo_regions take TyCtxtAt
RalfJung Jun 21, 2020
e465b22
`icmp` can handle raw pointers just fine, there's no need to cast to …
oli-obk Jun 21, 2020
893077c
Update src/librustc_mir/monomorphize/collector.rs
JOE1994 Jun 21, 2020
3bfd0c9
remove switch_ty reliance in codegen
RalfJung Jun 21, 2020
6297228
MIR validation: check switch_ty
RalfJung Jun 21, 2020
7447bf2
fmt
RalfJung Jun 21, 2020
b60ec47
bootstrap: no `config.toml` exists regression
davidtwco Jun 21, 2020
bb66d8d
Show the values and computation that would overflow a const evaluatio…
oli-obk Jun 19, 2020
f81c663
Update rustdoc
oli-obk Jun 21, 2020
3b47280
Update two tests that need instrumentation support in order to be run
oli-obk Jun 22, 2020
6747a11
Rollup merge of #71756 - carstenandrich:master, r=dtolnay
Manishearth Jun 22, 2020
f441819
Rollup merge of #72271 - rakshith-ravi:master, r=varkor
Manishearth Jun 22, 2020
59a3b9a
Rollup merge of #72780 - GuillaumeGomez:enforce-doc-alias-check, r=ol…
Manishearth Jun 22, 2020
5b219f2
Rollup merge of #73398 - oli-obk:const_raw_ptr_cmp, r=varkor,RalfJung…
Manishearth Jun 22, 2020
3e98225
Rollup merge of #73472 - GuillaumeGomez:cleanup-e0689, r=Dylan-DPC
Manishearth Jun 22, 2020
9916c09
Rollup merge of #73513 - oli-obk:const_binop_overflow, r=estebank
Manishearth Jun 22, 2020
59b57b2
Rollup merge of #73515 - christianpoveda:livedrop-diagnostics, r=oli-obk
Manishearth Jun 22, 2020
15a793a
Rollup merge of #73572 - JOE1994:patch-4, r=jonas-schievink
Manishearth Jun 22, 2020
af94a6b
Rollup merge of #73575 - dario23:typo-errorcodes-doc, r=matthewjasper
Manishearth Jun 22, 2020
ca761c0
Rollup merge of #73578 - RalfJung:ty-ctxt-at, r=jonas-schievink
Manishearth Jun 22, 2020
fda89ea
Rollup merge of #73586 - RalfJung:switch-ty, r=oli-obk
Manishearth Jun 22, 2020
b405ab1
Rollup merge of #73590 - davidtwco:bootstrap-fix-config-env-var, r=Ma…
Manishearth Jun 22, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add link list of error codes on docs.microsoft.com
  • Loading branch information
Carsten Andrich committed Jun 13, 2020
commit e27a8b59ed8046c9a9c73b680e0f767f4252077d
2 changes: 2 additions & 0 deletions src/libstd/sys/windows/c.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ pub const STD_ERROR_HANDLE: DWORD = -12i32 as DWORD;

pub const PROGRESS_CONTINUE: DWORD = 0;

// List of Windows system error codes with descriptions:
// https://docs.microsoft.com/en-us/windows/win32/debug/system-error-codes#system-error-codes
pub const ERROR_FILE_NOT_FOUND: DWORD = 2;
pub const ERROR_PATH_NOT_FOUND: DWORD = 3;
pub const ERROR_ACCESS_DENIED: DWORD = 5;
Expand Down