Skip to content

Instantly share code, notes, and snippets.

@Shnatsel
Created May 3, 2020 12:39
Show Gist options
  • Save Shnatsel/ff0bc7da32a0129fe5fe7211fac7d45c to your computer and use it in GitHub Desktop.
Save Shnatsel/ff0bc7da32a0129fe5fe7211fac7d45c to your computer and use it in GitHub Desktop.
all occurrences of 'const_err' on crates.io
parsec-service-0.1.2/build.rs: const_err,
sta-0.2.5/src/lib.rs: pub fn const_error(errormessage: String, exitcode: i32) -> Error {
sta-0.2.5/src/lib.rs: pub fn const_error_noexit(errormessage: String) -> Error {
sta-0.2.5/src/lib.rs: let error = error::const_error_noexit("This is a sample error, beep beep.".to_string());
core_extensions-0.1.16/src_core_extensions/marker_traits.rs: #[allow(const_err)]
core_extensions-0.1.16/src_core_extensions/marker_traits.rs: #[allow(const_err)]
oaidl-0.2.1/src/lib.rs:#![deny(const_err)]
x509-signature-0.3.0/src/lib.rs: const_err,
betrusted-pac-0.0.1/src/lib.rs:#![deny(const_err)]
gd32vf103-pac-0.2.0/src/lib.rs:#![deny(const_err)]
games-rs-0.2.1/src/lib.rs: const_err,
const_fn_assert-0.1.2/src/lib.rs:#![forbid(const_err)]
tracing-serde-0.1.1/src/lib.rs: const_err,
nrf52840-pac-0.9.0/src/lib.rs:#![deny(const_err)]
duckscript-0.3.0/src/lib.rs: const_err,
tracing-futures-0.2.3/src/lib.rs: const_err,
lpc55s6x-pac-0.0.8/src/lib.rs:#![deny(const_err)]
substrate-subxt-0.5.0/src/lib.rs: const_err,
libpasta-0.1.0-rc2/src/lib.rs: const_err,
stm32wb-pac-0.2.0/src/lib.rs:#![deny(const_err)]
git_info-0.1.1/src/lib.rs: const_err,
clippy_lints-0.0.212/src/indexing_slicing.rs:/// lint on constant `usize` indexing on arrays because that is handled by rustc's `const_err` lint.
clippy_lints-0.0.212/src/indexing_slicing.rs: // Let rustc's `const_err` lint handle constant `usize` indexing on arrays.
kmp-0.1.1/src/lib.rs: const_err,
rocket_cors-0.5.2/src/lib.rs: const_err,
tracing-log-0.1.1/src/lib.rs: const_err,
biscuit-0.4.2/src/lib.rs: const_err,
osproto-0.2.0/src/lib.rs: const_err,
ci_info-0.10.0/src/lib.rs: const_err,
ambiq-apollo2-pac-0.1.0/src/lib.rs:#![deny(const_err)]
ketos-0.12.0/tests/core.rs:fn test_const_error() {
tracing-attributes-0.1.7/src/lib.rs: const_err,
libremexre-0.1.12/src/lib.rs: const_err,
esp8266-0.0.3/src/lib.rs:#![deny(const_err)]
k22f-0.1.0/src/lib.rs:#![deny(const_err)]
openstack-0.3.2/src/lib.rs: const_err,
tracing-core-0.1.10/src/lib.rs: const_err,
osauth-0.2.5/src/lib.rs: const_err,
atsame54p20a-0.6.1/src/lib.rs:#![deny(const_err)]
duckscript_cli-0.3.2/src/main.rs: const_err,
serde_qs-0.5.2/src/lib.rs: const_err,
tracing-0.1.13/src/lib.rs: const_err,
run_script-0.6.2/src/lib.rs: const_err,
time-0.2.9/src/lib.rs: const_err,
arraystring-0.3.0/src/lib.rs: const_err,
cmake_config-0.1.1/src/lib.rs: fn sanity_check_bool_const_error() {
cluConstData-1.3.0/src/lib.rs: //#[allow(const_err)]
cluConstData-1.3.0/src/lib.rs: //#[allow(const_err)]
nrf52832-pac-0.9.0/src/lib.rs:#![deny(const_err)]
melody-0.3.0/src/lib.rs: const_err,
nuc1xx-0.1.2/src/lib.rs:#![deny(const_err)]
msp430fr2355-0.4.1/src/lib.rs:#![deny(const_err)]
g1-common-0.1.0-alpha.3/src/lib.rs: const_err,
toks-1.0.0/src/lib.rs: const_err,
irc-async-0.1.0/src/lib.rs: const_err,
time-macros-impl-0.1.0/src/lib.rs: const_err,
libflubber-0.1.0/src/lib.rs: const_err,
cast-0.2.3/src/lib.rs:#![allow(const_err)]
efm32pg12-pac-0.3.0/src/lib.rs:#![deny(const_err)]
msp430g2553-0.2.0/src/lib.rs:#![deny(const_err)]
libbeaglebone-0.5.0/src/lib.rs: const_err,
rust_smt-0.2.0/tests/test.rs:fn test_lookup_nonconst_error() {
rust_smt-0.2.0/tests/test.rs:fn test_record_const_error() {
shell2batch-0.4.2/src/lib.rs: const_err,
loader-rs-0.5.0/src/lib.rs: const_err,
xed-sys-0.2.4/src/lib.rs: const_err,
envmnt-0.8.1/src/lib.rs: const_err,
image-0.23.3/src/color.rs: // `const_err` lint (the expression `self.0[ALPHA]` would).
voluntary-servitude-4.0.8/src/lib.rs: const_err,
ht32f523x2-0.3.0/src/lib.rs:#![deny(const_err)]
ambiq-apollo1-pac-0.1.0/src/lib.rs:#![deny(const_err)]
ambiq-apollo3p-pac-0.1.0/src/lib.rs:#![deny(const_err)]
rsl10-pac-0.0.2/src/lib.rs:#![deny(const_err)]
msp430g2211-0.2.0/src/lib.rs:#![deny(const_err)]
rowdy-0.0.9/src/lib.rs: const_err,
serde_sexpr-0.1.0/src/lib.rs: const_err,
tss-esapi-3.0.2/src/lib.rs: const_err,
tracing-subscriber-0.2.4/src/lib.rs: const_err,
mkl25z4-0.0.3/src/lib.rs:#![deny(const_err)]
rcc-0.8.0/src/macros.rs: #[deny(const_err)]
json-trait-rs-0.8.0/src/lib.rs: const_err,
cdr-0.2.3/tests/test.rs:#[allow(const_err)]
cdr-0.2.3/tests/test.rs:#[allow(const_err)]
cdr-0.2.3/tests/test.rs:#[allow(const_err)]
cdr-0.2.3/tests/test.rs:#[allow(const_err)]
cdr-0.2.3/tests/test.rs:#[allow(const_err)]
cdr-0.2.3/tests/test.rs:#[allow(const_err)]
cdr-0.2.3/tests/test.rs:#[allow(const_err)]
cdr-0.2.3/tests/test.rs:#[allow(const_err)]
cdr-0.2.3/tests/test.rs:#[allow(const_err)]
cdr-0.2.3/tests/test.rs:#[allow(const_err)]
cdr-0.2.3/tests/test.rs:#[allow(const_err)]
cdr-0.2.3/tests/test.rs:#[allow(const_err)]
cdr-0.2.3/tests/test.rs:#[allow(const_err)]
parsec-interface-0.12.0/src/lib.rs: const_err,
duckscriptsdk-0.3.2/src/lib.rs: const_err,
fsio-0.1.2/src/lib.rs: const_err,
flubber-backend-proto-0.1.0-alpha/src/lib.rs: const_err,
hash_combine-0.3.7/src/lib.rs: const_err,
e310x-0.8.1/src/lib.rs:#![deny(const_err)]
rust_info-0.3.0/src/lib.rs: const_err,
elicit-0.7.6/src/lib.rs: const_err,
ranges-0.1.0/src/lib.rs: const_err,
cc13x2-0.2.0/src/lib.rs:#![deny(const_err)]
efm32pg1b-pac-0.1.0/src/lib.rs:#![deny(const_err)]
g1-sqlite-connection-0.1.0-alpha.3/src/lib.rs: const_err,
parsec-service-0.1.2/src/lib.rs: const_err,
parsec-service-0.1.2/tests/mod.rs: const_err,
nrf9160-pac-0.2.1/src/lib.rs:#![deny(const_err)]
hash_hasher-2.0.3/benches/lib.rs: const_err,
hash_hasher-2.0.3/src/lib.rs: const_err,
ipnet-2.3.0/src/ipext.rs: #[allow(const_err)]
ipnet-2.3.0/src/ipext.rs: #[allow(const_err)]
tracing-error-0.1.2/src/lib.rs: const_err,
reclaim-0.2.2/src/pointer/mod.rs:#[deny(const_err)]
sdl2-0.33.0/src/sdl2/rect.rs:#![allow(const_err)]
seer-0.0.3/tests/run-pass/non_capture_closure_to_fn_ptr.rs:// allow(const_err) to work around a bug in warnings
seer-0.0.3/tests/run-pass/non_capture_closure_to_fn_ptr.rs:#[allow(const_err)]
seer-0.0.3/tests/run-pass/non_capture_closure_to_fn_ptr.rs:#[allow(const_err)]
lexical-core-0.7.4/src/util/table.rs:#[allow(const_err)] // This warning is fixed in 1.26.0
lexical-core-0.7.4/src/util/table.rs:#[allow(const_err)] // This warning is fixed in 1.26.0
lightning-0.0.10/src/ln/channelmanager.rs:#[deny(const_err)]
lightning-0.0.10/src/ln/channelmanager.rs:#[deny(const_err)]
svd2rust-0.17.0/src/generate/device.rs: #![deny(const_err)]
romy-sdl2-0.32.2/src/sdl2/rect.rs:#![allow(const_err)]
cargo-make-0.30.4/src/lib/mod.rs: const_err,
stdweb-0.4.20/src/webcore/number.rs: #[allow(trivial_numeric_casts, const_err, unreachable_patterns)]
ignite-0.1.6/src/error/const_error.rs:pub fn const_error(errormessage: String, exitcode: i32, exit: bool) -> Error {
ignite-0.1.6/src/error/mod.rs:mod const_error;
ignite-0.1.6/src/error/mod.rs:pub use self::const_error::*;
parsec-service-0.1.2/src/bin/main.rs: const_err,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment