Skip to content

Rollup of 13 pull requests #56451

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

Merged
merged 31 commits into from
Dec 3, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
0591ff7
OsString: mention storage form in discussion
jnqnfe Nov 10, 2018
a1e9c7f
OsStr: clarify `len()` method documentation
jnqnfe Nov 10, 2018
aa5a4ef
Removed feature gate.
alexreg Nov 30, 2018
7bc1255
Removed chapter from Unstable Book.
alexreg Nov 30, 2018
d609fdf
Updated ui tests.
alexreg Nov 30, 2018
f4cde5b
stabilize std::dbg!(...)
Centril Dec 1, 2018
4c2c523
Move VecDeque::resize_with out of the impl<T:Clone> block
scottmcm Dec 1, 2018
a3b7a21
Improve the unstable book example for `#[marker]`
scottmcm Dec 1, 2018
df0ab06
Update tracking issue for `extern_crate_self`
petrochenkov Dec 1, 2018
08a6cf3
Remove unneeded body class selector
GuillaumeGomez Dec 1, 2018
12c9b79
Fix failing tidy (line endings on Windows)
petrochenkov Dec 1, 2018
e7e9692
remove some uses of try!
mark-i-m Dec 1, 2018
1e18cc9
Update issue number of `shrink_to` methods to point the tracking issue
ordovicia Dec 2, 2018
70371fd
Add description about `crate` for parse_visibility's comment
yui-knk Dec 2, 2018
172ec72
Fix "line longer than 100 chars"
yui-knk Dec 2, 2018
d605e1d
explicitly control compiler_builts/c feature from libstd
RalfJung Dec 2, 2018
bd20718
make the C part of compiler-builtins opt-out
RalfJung Dec 2, 2018
96bf06b
Remove not used `DotEq` token
yui-knk Dec 2, 2018
e9a8055
Rollup merge of #56141 - jnqnfe:osstr_len_clarity, r=nagisa
kennytm Dec 3, 2018
bf96a7b
Rollup merge of #56366 - alexreg:stabilise-self_in_typedefs, r=Centril
kennytm Dec 3, 2018
441aaf8
Rollup merge of #56395 - Centril:stabilize-dbg-macro, r=SimonSapin
kennytm Dec 3, 2018
2cbcd36
Rollup merge of #56401 - scottmcm:vecdeque-resize-with, r=dtolnay
kennytm Dec 3, 2018
65e6702
Rollup merge of #56402 - scottmcm:better-marker-trait-example, r=Centril
kennytm Dec 3, 2018
81752fd
Rollup merge of #56412 - petrochenkov:extself, r=Centril
kennytm Dec 3, 2018
17f6fc7
Rollup merge of #56416 - GuillaumeGomez:css-body, r=QuietMisdreavus
kennytm Dec 3, 2018
71d76be
Rollup merge of #56418 - petrochenkov:wintidy, r=nagisa
kennytm Dec 3, 2018
ca98bce
Rollup merge of #56419 - mark-i-m:remove-try, r=Centril
kennytm Dec 3, 2018
52a4fc8
Rollup merge of #56432 - ordovicia:shrink-to-issue, r=Centril
kennytm Dec 3, 2018
a498a6d
Rollup merge of #56433 - yui-knk:update_comment_of_parse_visibility, …
kennytm Dec 3, 2018
21433f2
Rollup merge of #56435 - RalfJung:libstd-without-c, r=alexcrichton
kennytm Dec 3, 2018
ac363d8
Rollup merge of #56438 - yui-knk:remove_not_used_DotEq_token, r=petro…
kennytm Dec 3, 2018
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
Updated ui tests.
  • Loading branch information
Alexander Regueiro committed Nov 30, 2018
commit d609fdf775f2789066cc92ba30f6de2875c10903
2 changes: 1 addition & 1 deletion src/test/ui/error-codes/E0411.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ error[E0411]: cannot find type `Self` in this scope
--> $DIR/E0411.rs:12:6
|
LL | <Self>::foo; //~ ERROR E0411
| ^^^^ `Self` is only available in traits and impls
| ^^^^ `Self` is only available in impls, traits, and type definitions

error: aborting due to previous error

Expand Down
1 change: 1 addition & 0 deletions src/test/ui/issues/issue-36638.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

struct Foo<Self>(Self);
//~^ ERROR expected identifier, found keyword `Self`
//~^^ ERROR E0392

trait Bar<Self> {}
//~^ ERROR expected identifier, found keyword `Self`
Expand Down
13 changes: 11 additions & 2 deletions src/test/ui/issues/issue-36638.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,19 @@ LL | struct Foo<Self>(Self);
| ^^^^ expected identifier, found keyword

error: expected identifier, found keyword `Self`
--> $DIR/issue-36638.rs:16:11
--> $DIR/issue-36638.rs:17:11
|
LL | trait Bar<Self> {}
| ^^^^ expected identifier, found keyword

error: aborting due to 2 previous errors
error[E0392]: parameter `Self` is never used
--> $DIR/issue-36638.rs:13:12
|
LL | struct Foo<Self>(Self);
| ^^^^ unused type parameter
|
= help: consider removing `Self` or using a marker such as `std::marker::PhantomData`

error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0392`.
2 changes: 1 addition & 1 deletion src/test/ui/resolve/issue-24968.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ error[E0411]: cannot find type `Self` in this scope
--> $DIR/issue-24968.rs:11:11
|
LL | fn foo(_: Self) {
| ^^^^ `Self` is only available in traits and impls
| ^^^^ `Self` is only available in impls, traits, and type definitions

error: aborting due to previous error

Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/resolve/resolve-self-in-impl-2.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ error[E0411]: expected trait, found self type `Self`
--> $DIR/resolve-self-in-impl-2.rs:14:6
|
LL | impl Self for S {} //~ ERROR expected trait, found self type `Self`
| ^^^^ `Self` is only available in traits and impls
| ^^^^ `Self` is only available in impls, traits, and type definitions

error[E0405]: cannot find trait `N` in `Self`
--> $DIR/resolve-self-in-impl-2.rs:15:12
Expand Down