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

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
7650bd1
Add cpass to incremental tests
Dec 16, 2022
97915ab
Add note for mismatched types with circular dependencies
Dec 16, 2022
dfe4c49
Use Edition 2021 :pat in matches macro
sugar700 Mar 6, 2023
c21f1d0
read_buf_exact: on error, all read bytes are appended to the buffer
tmiasko Mar 11, 2023
2df7770
Add lint for useless anonymous reexports
GuillaumeGomez Mar 10, 2023
ac4ea52
Add test for useless_anonymous_reexport lint
GuillaumeGomez Mar 10, 2023
7b0fa08
Update failing ui tests
GuillaumeGomez Mar 12, 2023
f663f09
Beautify pin! docs
est31 Mar 10, 2023
c22f154
Do not ICE for native_lib without name
chenyukang Mar 16, 2023
7bc67ef
Make the `Step` implementations const.
onestacked Feb 4, 2023
0dc36fc
fix: don't suggest similar method when unstable
Ezrashaw Mar 16, 2023
d1712f4
move default backtrace setting to sys
devsnek Mar 6, 2023
3ae03c7
review
devsnek Mar 18, 2023
8a9d6bf
Mark DoubleEndedIterator as #[const_trait] using rustc_do_not_const_c…
onestacked Feb 4, 2023
38be6f2
Implement FixedSizeEncoding for UnusedGenericParams.
cjgillot Mar 18, 2023
d5558e6
The name of NativeLib will be presented
chenyukang Mar 17, 2023
993b775
Rollup merge of #104100 - ink-feather-org:const_iter_range, r=the8472…
Dylan-DPC Mar 19, 2023
e9c25b4
Rollup merge of #105793 - lukas-code:circular-deps, r=Mark-Simulacrum
Dylan-DPC Mar 19, 2023
e458a79
Rollup merge of #108798 - devsnek:panic-pal-exception, r=workingjubilee
Dylan-DPC Mar 19, 2023
acaae90
Rollup merge of #108829 - xfix:use-edition-2021-pat-in-matches, r=Mar…
Dylan-DPC Mar 19, 2023
c8e112a
Rollup merge of #108973 - est31:pin_docs, r=Mark-Simulacrum
Dylan-DPC Mar 19, 2023
462e7e7
Rollup merge of #109003 - GuillaumeGomez:useless-anonymous-reexport-l…
Dylan-DPC Mar 19, 2023
654204f
Rollup merge of #109022 - tmiasko:read-buf-exact, r=dtolnay
Dylan-DPC Mar 19, 2023
879d6f2
Rollup merge of #109212 - Ezrashaw:no-similar-sugg-for-unstable, r=es…
Dylan-DPC Mar 19, 2023
1f0fcf1
Rollup merge of #109243 - chenyukang:yukang/fix-ice-109144, r=petroch…
Dylan-DPC Mar 19, 2023
881c989
Rollup merge of #109324 - cjgillot:fixed-unused-params, r=Nilstrieb
Dylan-DPC Mar 19, 2023
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 failing ui tests
  • Loading branch information
GuillaumeGomez committed Mar 12, 2023
commit 7b0fa085b093be4cca285441703d91caa216e4dc
2 changes: 1 addition & 1 deletion tests/ui/imports/issue-99695-b.fixed
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// run-rustfix
#![allow(unused, nonstandard_style)]
#![allow(unused, nonstandard_style, useless_anonymous_reexport)]
mod m {

mod p {
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/imports/issue-99695-b.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// run-rustfix
#![allow(unused, nonstandard_style)]
#![allow(unused, nonstandard_style, useless_anonymous_reexport)]
mod m {

mod p {
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/imports/issue-99695.fixed
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// run-rustfix
#![allow(unused, nonstandard_style)]
#![allow(unused, nonstandard_style, useless_anonymous_reexport)]
mod m {
#[macro_export]
macro_rules! nu {
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/imports/issue-99695.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// run-rustfix
#![allow(unused, nonstandard_style)]
#![allow(unused, nonstandard_style, useless_anonymous_reexport)]
mod m {
#[macro_export]
macro_rules! nu {
Expand Down
5 changes: 5 additions & 0 deletions tests/ui/lint/anonymous-reexport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,10 @@ pub use self::my_mod::Foo as _;
pub use self::my_mod::TyFoo as _;
pub use self::my_mod::Bar as _; //~ ERROR
pub use self::my_mod::TyBar as _; //~ ERROR
pub use self::my_mod::{Bar as _}; //~ ERROR
pub use self::my_mod::{Bar as _, Foo as _}; //~ ERROR
pub use self::my_mod::{Bar as _, TyBar as _};
//~^ ERROR
//~| ERROR
#[allow(unused_imports)]
use self::my_mod::TyBar as _;
37 changes: 36 additions & 1 deletion tests/ui/lint/anonymous-reexport.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ error: useless anonymous re-export
LL | pub use self::my_mod::Bar as _;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: only anonymous re-exports of traits are useful, this is a `struct`
note: the lint level is defined here
--> $DIR/anonymous-reexport.rs:1:9
|
Expand All @@ -15,6 +16,40 @@ error: useless anonymous re-export
|
LL | pub use self::my_mod::TyBar as _;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: only anonymous re-exports of traits are useful, this is a `type alias`

error: useless anonymous re-export
--> $DIR/anonymous-reexport.rs:15:24
|
LL | pub use self::my_mod::{Bar as _};
| ^^^^^^^^
|
= note: only anonymous re-exports of traits are useful, this is a `struct`

error: useless anonymous re-export
--> $DIR/anonymous-reexport.rs:16:24
|
LL | pub use self::my_mod::{Bar as _, Foo as _};
| ^^^^^^^^
|
= note: only anonymous re-exports of traits are useful, this is a `struct`

error: useless anonymous re-export
--> $DIR/anonymous-reexport.rs:17:24
|
LL | pub use self::my_mod::{Bar as _, TyBar as _};
| ^^^^^^^^
|
= note: only anonymous re-exports of traits are useful, this is a `struct`

error: useless anonymous re-export
--> $DIR/anonymous-reexport.rs:17:34
|
LL | pub use self::my_mod::{Bar as _, TyBar as _};
| ^^^^^^^^^^
|
= note: only anonymous re-exports of traits are useful, this is a `type alias`

error: aborting due to 2 previous errors
error: aborting due to 6 previous errors