Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
b12e142
alloc: Add new_zeroed() versions like new_uninit().
emilio Nov 5, 2019
75dac38
Add riscv64gc-unknown-linux-gnu target
msizanoen1 Nov 23, 2019
a8430a4
Miri: print leak report even without tracing
RalfJung Nov 23, 2019
9233a54
only print LEAK REPORT if there is a leak
RalfJung Nov 23, 2019
01d01ce
Add hardware floating point features to aarch64-pc-windows-msvc
mattico Nov 24, 2019
28c6ef8
introduce a target to build the kernel HermitCore
stlankes Nov 24, 2019
fdcf854
tidy: Accommodate rustfmt's preferred layout of stability attributes
dtolnay Nov 24, 2019
66dce11
Store ptr_width as u32 on Config
Mark-Simulacrum Nov 24, 2019
1475944
use nicer code style to pass tidy check
stlankes Nov 24, 2019
55ce5c0
disable redzone
stlankes Nov 24, 2019
e5816a7
Fix some rustdoc error capitalization
estebank Nov 25, 2019
bf5c64a
Clean up E0062 long explanation
GuillaumeGomez Nov 25, 2019
7e813c4
Clean up E0063 long explanation
GuillaumeGomez Nov 25, 2019
98e2917
Clean up E0067 long explanation
GuillaumeGomez Nov 25, 2019
ef35980
Clean up E0069 long explanation
GuillaumeGomez Nov 25, 2019
1bd28b1
Clean up E0070 long explanation
GuillaumeGomez Nov 25, 2019
00fe97a
Fix capitalization when mentioning different crate versions in E0308
estebank Nov 25, 2019
9a59541
Tweak multiple allocators error
estebank Nov 25, 2019
9c97d73
Tweak move error due to non-Copy
estebank Nov 25, 2019
1eeed17
Tweak duplicate fmt arg error
estebank Nov 25, 2019
3893d16
Tweak duplicate matcher binding error
estebank Nov 25, 2019
5ef4716
Tweak bad `continue` error
estebank Nov 25, 2019
85fb054
Tweak removed feature error
estebank Nov 25, 2019
5ea922a
Various cleanups
estebank Nov 25, 2019
395408e
Update documentation-tests.md
Parth Nov 26, 2019
37f440f
Add wildcard test for const_if_match
jyn514 Nov 26, 2019
55d7258
follow the same function order in the trait
Nov 26, 2019
f1f83ef
Test multiple variants
jyn514 Nov 26, 2019
2626cfb
Allow `Unreachable` terminators behind `const_if_match`
ecstatic-morse Nov 26, 2019
582affd
Add regression test for #66756
ecstatic-morse Nov 26, 2019
2299586
Move ErrorReported to rustc_errors
Mark-Simulacrum Nov 24, 2019
a626bf6
Remove test for #66758
ecstatic-morse Nov 26, 2019
941d915
Rollup merge of #66128 - emilio:new-zeroed, r=SimonSapin
tmandry Nov 26, 2019
a49f23e
Rollup merge of #66661 - msizanoen1:riscv-gnu, r=alexcrichton
tmandry Nov 26, 2019
a0e756b
Rollup merge of #66663 - RalfJung:miri-leaks, r=oli-obk
tmandry Nov 26, 2019
9e2802b
Rollup merge of #66711 - mattico:aarch-msvc-fp, r=nagisa
tmandry Nov 26, 2019
7ef7005
Rollup merge of #66713 - hermitcore:hermit, r=alexcrichton
tmandry Nov 26, 2019
ac7e604
Rollup merge of #66717 - dtolnay:tidy, r=Mark-Simulacrum
tmandry Nov 26, 2019
f178d35
Rollup merge of #66719 - Mark-Simulacrum:int-normalization, r=Centril
tmandry Nov 26, 2019
bf25f8e
Rollup merge of #66720 - Mark-Simulacrum:error-reported, r=Centril
tmandry Nov 26, 2019
0b3d4a1
Rollup merge of #66737 - GuillaumeGomez:err-codes-cleanup, r=Dylan-DPC
tmandry Nov 26, 2019
bb6236c
Rollup merge of #66754 - estebank:rustdoc-capitalization, r=Dylan-DPC
tmandry Nov 26, 2019
339d717
Rollup merge of #66763 - Parth:patch-2, r=steveklabnik
tmandry Nov 26, 2019
84a2d66
Rollup merge of #66779 - guanqun:reorder-funcs, r=Dylan-DPC
tmandry Nov 26, 2019
7f166e4
Rollup merge of #66786 - jyn514:const-if-match-tests, r=Centril
tmandry Nov 26, 2019
8547ea3
Rollup merge of #66788 - ecstatic-morse:const-fn-unreachable, r=Centril
tmandry Nov 26, 2019
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
Clean up E0069 long explanation
  • Loading branch information
GuillaumeGomez committed Nov 25, 2019
commit ef35980ffbdf70870c37b78aa2da1bcf1ee775a2
4 changes: 3 additions & 1 deletion src/librustc_error_codes/error_codes/E0069.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
The compiler found a function whose body contains a `return;` statement but
whose return type is not `()`. An example of this is:
whose return type is not `()`.

Erroneous code example:

```compile_fail,E0069
// error
Expand Down