Skip to content

Rollup of 4 pull requests #42989

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 28 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
71252d9
Document possible `io::ErrorKind`s of `fs::open`
tbu- Jun 27, 2017
2783d0f
Add links to the `ErrorKind` variants in errors of `open`
tbu- Jun 28, 2017
176225c
Adding diagnostic code 0611 for lifetime errors with one named, one a…
gaurikholkar Jun 12, 2017
5df7a2c
Adding new ui test for trait impl
gaurikholkar Jun 15, 2017
4bed5f0
update reference for test
nikomatsakis Jun 15, 2017
ae92bd0
Interchange ^ and -
gaurikholkar Jun 15, 2017
8fb6f74
Enabling E0611 for inherent functions
gaurikholkar Jun 17, 2017
2d99ffd
track anonymous regions in return types, fix tidy errors
gaurikholkar Jun 20, 2017
a851e1e
Adding changes to track anonymous region in self
gaurikholkar Jun 21, 2017
82f25b3
code review fixes
gaurikholkar Jun 22, 2017
aebc4e0
Changing the error code to E0621
gaurikholkar Jun 26, 2017
9540901
remove `fn main() { }` from extended errors
nikomatsakis Jun 27, 2017
e8b8f30
Code review fixes
gaurikholkar Jun 27, 2017
5841021
conflict fixes
gaurikholkar Jun 28, 2017
5be4fa8
code fixes for error code use warning
gaurikholkar Jun 29, 2017
ccfa9c4
use PAGER to view --explain output #32665
cengiz-io May 29, 2017
f8aad9d
do not append an extra newline char
cengiz-io Jun 29, 2017
d2a0ead
use unwrap_or_else to prevent unnecessary alloc
cengiz-io Jun 29, 2017
76d54c0
Add E0619 error explanation
GuillaumeGomez Jun 28, 2017
2c86ff4
Fix error codes mixup
GuillaumeGomez Jun 29, 2017
4abcf28
adding compile-fail test
gaurikholkar Jun 29, 2017
cb26a25
tweak comments in E0495.rs
nikomatsakis Jun 29, 2017
a433777
move ERROR line
nikomatsakis Jun 30, 2017
37a88f4
rename compile-fail test
gaurikholkar Jun 30, 2017
a47e48a
Rollup merge of #42669 - gaurikholkar:master, r=nikomatsakis
GuillaumeGomez Jun 30, 2017
5103641
Rollup merge of #42732 - cengizIO:master, r=Mark-Simulacrum
GuillaumeGomez Jun 30, 2017
7b7962d
Rollup merge of #42925 - tbu-:pr_document_file_open_errors, r=Guillau…
GuillaumeGomez Jun 30, 2017
1667286
Rollup merge of #42957 - GuillaumeGomez:add-e0619, r=nikomatsakis
GuillaumeGomez Jun 30, 2017
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
update reference for test
  • Loading branch information
nikomatsakis authored and gaurikholkar committed Jun 29, 2017
commit 4bed5f0094b632ec2a10d73074fcd02e289e20cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ note: ...so that reference does not outlive borrowed content
|
19 | invoke(&x, |a, b| if a > b { a } else { b });
| ^
note: but, the lifetime must be valid for the call at 19:5...
note: but, the lifetime must be valid for the expression at 19:5...
--> $DIR/ex1-return-one-existing-name-if-else-using-closure.rs:19:5
|
19 | invoke(&x, |a, b| if a > b { a } else { b });
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: ...so that argument is valid for the call
--> $DIR/ex1-return-one-existing-name-if-else-using-closure.rs:19:12
| ^^^^^^
note: ...so that a type/lifetime parameter is in scope here
--> $DIR/ex1-return-one-existing-name-if-else-using-closure.rs:19:5
|
19 | invoke(&x, |a, b| if a > b { a } else { b });
| ^^
| ^^^^^^

error: aborting due to previous error(s)