diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2021-07-10 10:00:54 +0200 | 
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-12-04 23:13:58 +0100 | 
| commit | 646f58a7e1985ca935c3d95a003f23fb81831dd3 (patch) | |
| tree | 654e3c43ad941d71481b598e73faf3583af56c50 /src/test/ui/lint/bare-trait-objects-path.rs | |
| parent | 887999d163bace7e79370b952bdd1f930ff4cdd5 (diff) | |
| download | rust-646f58a7e1985ca935c3d95a003f23fb81831dd3.tar.gz rust-646f58a7e1985ca935c3d95a003f23fb81831dd3.zip | |
Lint bare traits in AstConv.
Diffstat (limited to 'src/test/ui/lint/bare-trait-objects-path.rs')
| -rw-r--r-- | src/test/ui/lint/bare-trait-objects-path.rs | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/src/test/ui/lint/bare-trait-objects-path.rs b/src/test/ui/lint/bare-trait-objects-path.rs index 0a7c5a8dbd1..0e2294715cd 100644 --- a/src/test/ui/lint/bare-trait-objects-path.rs +++ b/src/test/ui/lint/bare-trait-objects-path.rs @@ -21,4 +21,6 @@ fn main() { //~^ WARN trait objects without an explicit `dyn` are deprecated //~| WARN this is accepted in the current edition let _: Dyn::Ty; //~ ERROR ambiguous associated type + //~^ WARN trait objects without an explicit `dyn` are deprecated + //~| WARN this is accepted in the current edition } | 
