You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"message": "`#[warn(unused_variables)]` on by default",
1978
+
"code": null,
1979
+
"level": "note",
1980
+
"spans":
1981
+
[],
1982
+
"children":
1983
+
[],
1984
+
"rendered": null
1985
+
},
1986
+
{
1987
+
"message": "if this is intentional, prefix it with an underscore",
1988
+
"code": null,
1989
+
"level": "help",
1990
+
"spans":
1991
+
[
1992
+
{
1993
+
"file_name": "__BAR_PATH__/bar-1.0.0/src/lib.rs",
1994
+
"byte_start": 127,
1995
+
"byte_end": 129,
1996
+
"line_start": 5,
1997
+
"line_end": 5,
1998
+
"column_start": 29,
1999
+
"column_end": 31,
2000
+
"is_primary": true,
2001
+
"text":
2002
+
[
2003
+
{
2004
+
"text": " let $i = 1;",
2005
+
"highlight_start": 29,
2006
+
"highlight_end": 31
2007
+
}
2008
+
],
2009
+
"label": null,
2010
+
"suggested_replacement": "_abc",
2011
+
"suggestion_applicability": "MachineApplicable",
2012
+
"expansion": null
2013
+
}
2014
+
],
2015
+
"children":
2016
+
[],
2017
+
"rendered": null
2018
+
}
2019
+
],
2020
+
"rendered": "warning: unused variable: `abc`\n --> __BAR_PATH__/bar-1.0.0/src/lib.rs:5:29\n |\n5 | let $i = 1;\n | ^^ help: if this is intentional, prefix it with an underscore: `_abc`\n |\n = note: `#[warn(unused_variables)]` on by default\n\n"
0 commit comments