Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
f817d19
std: Mark `ptr::Unique` with `#[doc(hidden)]`
Apr 10, 2018
54d6bcb
alloc: Mark `Box::into_unique` with `#[doc(hidden)]`
Apr 11, 2018
d2dc21d
Add documentation for SyntaxContext::remove_mark
sapphire-arches Apr 21, 2018
263b36b
Implement parent() on `syntax_pos::Span`
sapphire-arches Apr 21, 2018
498dbe4
Implement a least upper bound for marks.
sapphire-arches Apr 21, 2018
a2a9cc6
rustc: Disable threads in LLD for wasm
alexcrichton Apr 26, 2018
d92d193
Don't ICE on tuple struct ctor with incorrect arg count
estebank Apr 26, 2018
73e0c1e
Fix review nits
sapphire-arches Apr 26, 2018
20ad427
rustc: Emit `uwtable` for allocator shims
alexcrichton Apr 27, 2018
3565556
Update `parking_lot` dependencies
alexcrichton Apr 27, 2018
5f2c111
Allow #[inline] on closures
Amanieu Apr 27, 2018
199ee32
stop requiring the feature-gate to use dyn_trait
pvdrz Apr 12, 2018
c86f1c8
removed dyn_trait feature from tests
pvdrz Apr 12, 2018
0efb567
dyn_trait feature-gate just for stage0
pvdrz Apr 12, 2018
55a653d
removed linting for dyn_trait
pvdrz Apr 13, 2018
4bf35f9
updated stderr files and removed feature-gate test for dyn_trait
pvdrz Apr 14, 2018
72a8eb9
fixed rustc version for dyn_trait
pvdrz Apr 15, 2018
cadf251
removed dyn trait attribute from librustdoc
pvdrz Apr 18, 2018
74412d2
fix search load page failure
GuillaumeGomez Apr 27, 2018
b80472d
fixed tests
pvdrz Apr 25, 2018
b5c7cbf
rustdoc asks for dyn_trait feature in stage0
pvdrz Apr 25, 2018
a18e7a6
Rollup merge of #49858 - dmizuk:unique-doc-hidden, r=steveklabnik
kennytm Apr 27, 2018
8b36d9a
Rollup merge of #49968 - christianpoveda:stabilize_dyn, r=nikomatsakis
kennytm Apr 27, 2018
4a961d1
Rollup merge of #50192 - bobtwinkles:libsyntax_extensions, r=jseyfried
kennytm Apr 27, 2018
1c1fd27
Rollup merge of #50251 - alexcrichton:wasm-no-threads, r=eddyb
kennytm Apr 27, 2018
0da4bde
Rollup merge of #50263 - alexcrichton:uwtable-allcoators, r=eddyb
kennytm Apr 27, 2018
28762ed
Rollup merge of #50269 - alexcrichton:update-parking-lot, r=Mark-Simu…
kennytm Apr 27, 2018
3f84ce2
Rollup merge of #50273 - Amanieu:issue-49532, r=alexcrichton
kennytm Apr 27, 2018
e598394
Rollup merge of #50284 - GuillaumeGomez:search-load-failure, r=SimonS…
kennytm Apr 27, 2018
dc6b167
Rollup merge of #50257 - estebank:fix-49560, r=nikomatsakis
kennytm Apr 27, 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 stderr files and removed feature-gate test for dyn_trait
  • Loading branch information
pvdrz committed Apr 27, 2018
commit 4bf35f93c9e753b413a9ff5b2a79ae5b1efbd4b8
14 changes: 0 additions & 14 deletions src/test/ui/feature-gate-dyn-trait.rs

This file was deleted.

10 changes: 5 additions & 5 deletions src/test/ui/impl_trait_projections.stderr
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
error[E0667]: `impl Trait` is not allowed in path parameters
--> $DIR/impl_trait_projections.rs:23:51
--> $DIR/impl_trait_projections.rs:24:51
|
LL | fn projection_is_disallowed(x: impl Iterator) -> <impl Iterator>::Item {
| ^^^^^^^^^^^^^

error[E0667]: `impl Trait` is not allowed in path parameters
--> $DIR/impl_trait_projections.rs:30:9
--> $DIR/impl_trait_projections.rs:31:9
|
LL | -> <impl Iterator as Iterator>::Item
| ^^^^^^^^^^^^^

error[E0667]: `impl Trait` is not allowed in path parameters
--> $DIR/impl_trait_projections.rs:37:27
--> $DIR/impl_trait_projections.rs:38:27
|
LL | -> <::std::ops::Range<impl Debug> as Iterator>::Item
| ^^^^^^^^^^

error[E0667]: `impl Trait` is not allowed in path parameters
--> $DIR/impl_trait_projections.rs:44:29
--> $DIR/impl_trait_projections.rs:45:29
|
LL | -> <dyn Iterator<Item = impl Debug> as Iterator>::Item
| ^^^^^^^^^^

error[E0223]: ambiguous associated type
--> $DIR/impl_trait_projections.rs:23:50
--> $DIR/impl_trait_projections.rs:24:50
|
LL | fn projection_is_disallowed(x: impl Iterator) -> <impl Iterator>::Item {
| ^^^^^^^^^^^^^^^^^^^^^ ambiguous associated type
Expand Down
6 changes: 3 additions & 3 deletions src/test/ui/in-band-lifetimes/impl/dyn-trait.stderr
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
error[E0495]: cannot infer an appropriate lifetime due to conflicting requirements
--> $DIR/dyn-trait.rs:33:16
--> $DIR/dyn-trait.rs:32:16
|
LL | static_val(x); //~ ERROR cannot infer
| ^
|
note: first, the lifetime cannot outlive the lifetime 'a as defined on the function body at 32:1...
--> $DIR/dyn-trait.rs:32:1
note: first, the lifetime cannot outlive the lifetime 'a as defined on the function body at 31:1...
--> $DIR/dyn-trait.rs:31:1
|
LL | fn with_dyn_debug_static<'a>(x: Box<dyn Debug + 'a>) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
24 changes: 12 additions & 12 deletions src/test/ui/nll/ty-outlives/projection-no-regions-closure.stderr
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
warning: not reporting region error due to nll
--> $DIR/projection-no-regions-closure.rs:36:31
--> $DIR/projection-no-regions-closure.rs:35:31
|
LL | with_signature(x, |mut y| Box::new(y.next()))
| ^^^^^^^^^^^^^^^^^^

warning: not reporting region error due to nll
--> $DIR/projection-no-regions-closure.rs:54:31
--> $DIR/projection-no-regions-closure.rs:53:31
|
LL | with_signature(x, |mut y| Box::new(y.next()))
| ^^^^^^^^^^^^^^^^^^

note: External requirements
--> $DIR/projection-no-regions-closure.rs:36:23
--> $DIR/projection-no-regions-closure.rs:35:23
|
LL | with_signature(x, |mut y| Box::new(y.next()))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -26,15 +26,15 @@ LL | with_signature(x, |mut y| Box::new(y.next()))
= note: where <T as std::iter::Iterator>::Item: '_#2r

error[E0309]: the associated type `<T as std::iter::Iterator>::Item` may not live long enough
--> $DIR/projection-no-regions-closure.rs:36:23
--> $DIR/projection-no-regions-closure.rs:35:23
|
LL | with_signature(x, |mut y| Box::new(y.next()))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider adding an explicit lifetime bound `<T as std::iter::Iterator>::Item: ReEarlyBound(0, 'a)`...

note: No external requirements
--> $DIR/projection-no-regions-closure.rs:32:1
--> $DIR/projection-no-regions-closure.rs:31:1
|
LL | / fn no_region<'a, T>(x: Box<T>) -> Box<dyn Anything + 'a>
LL | | where
Expand All @@ -51,7 +51,7 @@ LL | | }
]

note: External requirements
--> $DIR/projection-no-regions-closure.rs:46:23
--> $DIR/projection-no-regions-closure.rs:45:23
|
LL | with_signature(x, |mut y| Box::new(y.next()))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -66,7 +66,7 @@ LL | with_signature(x, |mut y| Box::new(y.next()))
= note: where <T as std::iter::Iterator>::Item: '_#2r

note: No external requirements
--> $DIR/projection-no-regions-closure.rs:42:1
--> $DIR/projection-no-regions-closure.rs:41:1
|
LL | / fn correct_region<'a, T>(x: Box<T>) -> Box<dyn Anything + 'a>
LL | | where
Expand All @@ -82,7 +82,7 @@ LL | | }
]

note: External requirements
--> $DIR/projection-no-regions-closure.rs:54:23
--> $DIR/projection-no-regions-closure.rs:53:23
|
LL | with_signature(x, |mut y| Box::new(y.next()))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -98,15 +98,15 @@ LL | with_signature(x, |mut y| Box::new(y.next()))
= note: where <T as std::iter::Iterator>::Item: '_#3r

error[E0309]: the associated type `<T as std::iter::Iterator>::Item` may not live long enough
--> $DIR/projection-no-regions-closure.rs:54:23
--> $DIR/projection-no-regions-closure.rs:53:23
|
LL | with_signature(x, |mut y| Box::new(y.next()))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider adding an explicit lifetime bound `<T as std::iter::Iterator>::Item: ReEarlyBound(0, 'a)`...

note: No external requirements
--> $DIR/projection-no-regions-closure.rs:50:1
--> $DIR/projection-no-regions-closure.rs:49:1
|
LL | / fn wrong_region<'a, 'b, T>(x: Box<T>) -> Box<dyn Anything + 'a>
LL | | where
Expand All @@ -124,7 +124,7 @@ LL | | }
]

note: External requirements
--> $DIR/projection-no-regions-closure.rs:65:23
--> $DIR/projection-no-regions-closure.rs:64:23
|
LL | with_signature(x, |mut y| Box::new(y.next()))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -140,7 +140,7 @@ LL | with_signature(x, |mut y| Box::new(y.next()))
= note: where <T as std::iter::Iterator>::Item: '_#3r

note: No external requirements
--> $DIR/projection-no-regions-closure.rs:60:1
--> $DIR/projection-no-regions-closure.rs:59:1
|
LL | / fn outlives_region<'a, 'b, T>(x: Box<T>) -> Box<dyn Anything + 'a>
LL | | where
Expand Down
8 changes: 4 additions & 4 deletions src/test/ui/nll/ty-outlives/projection-no-regions-fn.stderr
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
warning: not reporting region error due to nll
--> $DIR/projection-no-regions-fn.rs:24:5
--> $DIR/projection-no-regions-fn.rs:23:5
|
LL | Box::new(x.next())
| ^^^^^^^^^^^^^^^^^^

warning: not reporting region error due to nll
--> $DIR/projection-no-regions-fn.rs:40:5
--> $DIR/projection-no-regions-fn.rs:39:5
|
LL | Box::new(x.next())
| ^^^^^^^^^^^^^^^^^^

error[E0309]: the associated type `<T as std::iter::Iterator>::Item` may not live long enough
--> $DIR/projection-no-regions-fn.rs:24:5
--> $DIR/projection-no-regions-fn.rs:23:5
|
LL | Box::new(x.next())
| ^^^^^^^^^^^^^^^^^^
|
= help: consider adding an explicit lifetime bound `<T as std::iter::Iterator>::Item: ReEarlyBound(0, 'a)`...

error[E0309]: the associated type `<T as std::iter::Iterator>::Item` may not live long enough
--> $DIR/projection-no-regions-fn.rs:40:5
--> $DIR/projection-no-regions-fn.rs:39:5
|
LL | Box::new(x.next())
| ^^^^^^^^^^^^^^^^^^
Expand Down
34 changes: 17 additions & 17 deletions src/test/ui/nll/ty-outlives/projection-one-region-closure.stderr
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
warning: not reporting region error due to nll
--> $DIR/projection-one-region-closure.rs:56:39
--> $DIR/projection-one-region-closure.rs:55:39
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^

warning: not reporting region error due to nll
--> $DIR/projection-one-region-closure.rs:68:39
--> $DIR/projection-one-region-closure.rs:67:39
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^

warning: not reporting region error due to nll
--> $DIR/projection-one-region-closure.rs:90:39
--> $DIR/projection-one-region-closure.rs:89:39
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^

note: External requirements
--> $DIR/projection-one-region-closure.rs:56:29
--> $DIR/projection-one-region-closure.rs:55:29
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -33,21 +33,21 @@ LL | with_signature(cell, t, |cell, t| require(cell, t));
= note: where '_#1r: '_#2r

error[E0309]: the parameter type `T` may not live long enough
--> $DIR/projection-one-region-closure.rs:56:29
--> $DIR/projection-one-region-closure.rs:55:29
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider adding an explicit lifetime bound `T: ReFree(DefId(0/0:8 ~ projection_one_region_closure[317d]::no_relationships_late[0]), BrNamed(crate0:DefIndex(1:16), 'a))`...

error: free region `ReEarlyBound(0, 'b)` does not outlive free region `ReFree(DefId(0/0:8 ~ projection_one_region_closure[317d]::no_relationships_late[0]), BrNamed(crate0:DefIndex(1:16), 'a))`
--> $DIR/projection-one-region-closure.rs:56:20
--> $DIR/projection-one-region-closure.rs:55:20
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^

note: No external requirements
--> $DIR/projection-one-region-closure.rs:52:1
--> $DIR/projection-one-region-closure.rs:51:1
|
LL | / fn no_relationships_late<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
LL | | where
Expand All @@ -64,7 +64,7 @@ LL | | }
]

note: External requirements
--> $DIR/projection-one-region-closure.rs:68:29
--> $DIR/projection-one-region-closure.rs:67:29
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -81,21 +81,21 @@ LL | with_signature(cell, t, |cell, t| require(cell, t));
= note: where '_#2r: '_#3r

error[E0309]: the parameter type `T` may not live long enough
--> $DIR/projection-one-region-closure.rs:68:29
--> $DIR/projection-one-region-closure.rs:67:29
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider adding an explicit lifetime bound `T: ReEarlyBound(0, 'a)`...

error: free region `ReEarlyBound(1, 'b)` does not outlive free region `ReEarlyBound(0, 'a)`
--> $DIR/projection-one-region-closure.rs:68:20
--> $DIR/projection-one-region-closure.rs:67:20
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^

note: No external requirements
--> $DIR/projection-one-region-closure.rs:63:1
--> $DIR/projection-one-region-closure.rs:62:1
|
LL | / fn no_relationships_early<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
LL | | where
Expand All @@ -113,7 +113,7 @@ LL | | }
]

note: External requirements
--> $DIR/projection-one-region-closure.rs:90:29
--> $DIR/projection-one-region-closure.rs:89:29
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -130,21 +130,21 @@ LL | with_signature(cell, t, |cell, t| require(cell, t));
= note: where '_#2r: '_#3r

error[E0309]: the parameter type `T` may not live long enough
--> $DIR/projection-one-region-closure.rs:90:29
--> $DIR/projection-one-region-closure.rs:89:29
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider adding an explicit lifetime bound `T: ReEarlyBound(0, 'a)`...

error: free region `ReEarlyBound(1, 'b)` does not outlive free region `ReEarlyBound(0, 'a)`
--> $DIR/projection-one-region-closure.rs:90:20
--> $DIR/projection-one-region-closure.rs:89:20
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^

note: No external requirements
--> $DIR/projection-one-region-closure.rs:75:1
--> $DIR/projection-one-region-closure.rs:74:1
|
LL | / fn projection_outlives<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
LL | | where
Expand All @@ -162,7 +162,7 @@ LL | | }
]

note: External requirements
--> $DIR/projection-one-region-closure.rs:103:29
--> $DIR/projection-one-region-closure.rs:102:29
|
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -179,7 +179,7 @@ LL | with_signature(cell, t, |cell, t| require(cell, t));
= note: where '_#2r: '_#3r

note: No external requirements
--> $DIR/projection-one-region-closure.rs:97:1
--> $DIR/projection-one-region-closure.rs:96:1
|
LL | / fn elements_outlive<'a, 'b, T>(cell: Cell<&'a ()>, t: T)
LL | | where
Expand Down
Loading