Add a new lint UNCONSTRUCTABLE_PUB_STRUCT to detect unconstructable public structs
#183004
Annotations
10 errors and 20 warnings
|
run the build
pub struct `DecodeUtf16` is unconstructable externally and never constructed locally
|
|
run the build
pub struct `Example` is unconstructable externally and never constructed locally
|
|
run the build
pub struct `Baz` is unconstructable externally and never constructed locally
|
|
run the build
pub struct `Bar` is unconstructable externally and never constructed locally
|
|
run the build
pub struct `Foo` is unconstructable externally and never constructed locally
|
|
run the build
pub struct `MyContainer` is unconstructable externally and never constructed locally
|
|
run the build
pub struct `State` is unconstructable externally and never constructed locally
|
|
run the build
pub struct `UnificationTable` is unconstructable externally and never constructed locally
|
|
run the build
pub struct `UnionedKeys` is unconstructable externally and never constructed locally
|
|
run the build
pub struct `Flatten` is unconstructable externally and never constructed locally
|
|
run the build
repr(C) does not follow the power alignment rule. This may affect platform C ABI compatibility for this type
|
|
run the build
repr(C) does not follow the power alignment rule. This may affect platform C ABI compatibility for this type
|
|
run the build
repr(C) does not follow the power alignment rule. This may affect platform C ABI compatibility for this type
|
|
run the build
repr(C) does not follow the power alignment rule. This may affect platform C ABI compatibility for this type
|
|
run the build
field `foo` is never read
|
|
run the build
field `foo` is never read
|
|
run the build
the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
|
|
run the build
the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
|
|
run the build
the feature `unsized_const_params` is incomplete and may not be safe to use and/or cause compiler crashes
|
|
run the build
the feature `unsized_const_params` is incomplete and may not be safe to use and/or cause compiler crashes
|
|
free up disk space
Directory or file /usr/local/.ghcup does not exist, skipping.
|
|
free up disk space
Directory or file /usr/local/bin/stack does not exist, skipping.
|
|
free up disk space
Directory or file /usr/local/bin/bicep does not exist, skipping.
|
|
free up disk space
Directory or file /usr/share/miniconda does not exist, skipping.
|
|
free up disk space
Directory or file /usr/share/gradle-* does not exist, skipping.
|
|
free up disk space
Directory or file /usr/local/share/edge_driver does not exist, skipping.
|
|
free up disk space
Directory or file /usr/local/share/chromium does not exist, skipping.
|
|
free up disk space
Directory or file /usr/local/share/chromedriver-* does not exist, skipping.
|
|
free up disk space
Directory or file /usr/local/lib/android does not exist, skipping.
|
|
free up disk space
Directory or file /usr/local/julia* does not exist, skipping.
|
Loading